diff --git a/ext-src/pester b/ext-src/pester index 941efb9fbf..dc5d388532 160000 --- a/ext-src/pester +++ b/ext-src/pester @@ -1 +1 @@ -Subproject commit 941efb9fbfb56c0ffa5470b150dc7ca9c2ab350b +Subproject commit dc5d388532499267e68c17c0a96153f7bc09c437 diff --git a/src/monad b/src/monad index fd8c241c63..4de6c3792e 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit fd8c241c631c5980e57a06769f857ecf8db915b1 +Subproject commit 4de6c3792e4a3b68575f0a87d5933735d5e328c7 diff --git a/src/monad-ext b/src/monad-ext index 5f5bdb4ad3..bd3356bd4b 160000 --- a/src/monad-ext +++ b/src/monad-ext @@ -1 +1 @@ -Subproject commit 5f5bdb4ad35f5932a0b67e9fad7bfd201424ac2d +Subproject commit bd3356bd4bc7515ae5e13f3b6c98ba3f97cb0275 diff --git a/src/pester-tests/Test-Environment-Variables.Tests.ps1 b/src/pester-tests/Test-Environment-Variables.Tests.ps1 index 3be444e566..95147099e4 100644 --- a/src/pester-tests/Test-Environment-Variables.Tests.ps1 +++ b/src/pester-tests/Test-Environment-Variables.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Environment-Variables" { It "Should have environment variable" { diff --git a/src/pester-tests/Test-Get-Alias.Tests.ps1 b/src/pester-tests/Test-Get-Alias.Tests.ps1 index b34e52f030..0819dcaa4c 100644 --- a/src/pester-tests/Test-Get-Alias.Tests.ps1 +++ b/src/pester-tests/Test-Get-Alias.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Get-Alias" { It "Should have a return type of System.Array when gal returns more than one object" { diff --git a/src/pester-tests/Test-Get-ChildItem.Tests.ps1 b/src/pester-tests/Test-Get-ChildItem.Tests.ps1 index 77d34e1a69..7179c7b16d 100644 --- a/src/pester-tests/Test-Get-ChildItem.Tests.ps1 +++ b/src/pester-tests/Test-Get-ChildItem.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-ChildItem" { It "Should list the contents of the current folder" { diff --git a/src/pester-tests/Test-Get-Content.Tests.ps1 b/src/pester-tests/Test-Get-Content.Tests.ps1 index 0cb48aeea0..f6e09e71c8 100644 --- a/src/pester-tests/Test-Get-Content.Tests.ps1 +++ b/src/pester-tests/Test-Get-Content.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-Content" { It "Should throw an error on a directory " { diff --git a/src/pester-tests/Test-Get-Dates.Tests.ps1 b/src/pester-tests/Test-Get-Dates.Tests.ps1 index 1efa3eccd2..5761c2d54e 100644 --- a/src/pester-tests/Test-Get-Dates.Tests.ps1 +++ b/src/pester-tests/Test-Get-Dates.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-Date" { <# diff --git a/src/pester-tests/Test-Get-Item.Tests.ps1 b/src/pester-tests/Test-Get-Item.Tests.ps1 index ede9928b1d..ea265c0508 100644 --- a/src/pester-tests/Test-Get-Item.Tests.ps1 +++ b/src/pester-tests/Test-Get-Item.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-Item" { It "Should list all the items in the current working directory when asterisk is used" { diff --git a/src/pester-tests/Test-Get-Location.Tests.ps1 b/src/pester-tests/Test-Get-Location.Tests.ps1 index e345fb20cd..93ea706b42 100644 --- a/src/pester-tests/Test-Get-Location.Tests.ps1 +++ b/src/pester-tests/Test-Get-Location.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-Location aka pwd" { <#Dependencies: diff --git a/src/pester-tests/Test-Get-Member.Tests.ps1 b/src/pester-tests/Test-Get-Member.Tests.ps1 index 54605aade2..eb976137bd 100644 --- a/src/pester-tests/Test-Get-Member.Tests.ps1 +++ b/src/pester-tests/Test-Get-Member.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Get-Member" { It "Should be able to be called on string objects, ints, arrays, etc" { diff --git a/src/pester-tests/Test-Split-Path.Tests.ps1 b/src/pester-tests/Test-Split-Path.Tests.ps1 index 2cd5ca2f58..e9f154c8ef 100644 --- a/src/pester-tests/Test-Split-Path.Tests.ps1 +++ b/src/pester-tests/Test-Split-Path.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "Test-Split-Path" { <# diff --git a/src/pester-tests/test-Add-Member.Tests.ps1 b/src/pester-tests/test-Add-Member.Tests.ps1 index 4c4c4ea0ac..50abc096ca 100644 --- a/src/pester-tests/test-Add-Member.Tests.ps1 +++ b/src/pester-tests/test-Add-Member.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "test-Add-Member" { diff --git a/src/pester-tests/test-New-Object.Tests.ps1 b/src/pester-tests/test-New-Object.Tests.ps1 index ea7cc516ce..4e4d2cba0a 100644 --- a/src/pester-tests/test-New-Object.Tests.ps1 +++ b/src/pester-tests/test-New-Object.Tests.ps1 @@ -1,6 +1,6 @@ $here = Split-Path -Parent $MyInvocation.MyCommand.Path $sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".") -. "$here\$sut" +. "$here/$sut" Describe "New-Object" { It "should create an object with 4 fields" {