Skip to content

Commit bd8ea16

Browse files
Robert Holtrjmholt
authored andcommitted
Write PSModulePath before failing test
1 parent 7457e04 commit bd8ea16

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

PSCompatibilityCollector/Tests/Cmdlet.Tests.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4+
Write-Verbose -Verbose $env:PSModulePath
5+
46
$script:currentMachineProfile = New-PSCompatibilityProfile -PassThru
57

68
Describe "Assert-PSCompatibilityProfileIsValid" {
@@ -16,7 +18,7 @@ Describe "JSON cmdlets" {
1618
ConvertTo-PSCompatibilityJson |
1719
ConvertFrom-PSCompatibilityJson |
1820
Assert-PSCompatibilityProfileIsValid
19-
21+
2022
$? | Should -BeTrue
2123
}
2224
}

0 commit comments

Comments
 (0)