Skip to content

Commit 8867555

Browse files
committed
Fix PowerShell tests for Pwsh v7.4
1 parent 032691a commit 8867555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gsudo.Wrappers.Tests/Invoke-gsudo.Tests.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Describe "PS Invoke-Gsudo (PSv$($PSVersionTable.PSVersion.Major))" {
4343
}
4444

4545
It "It throws with .Net Exceptions" {
46-
{ Invoke-gsudo { [int]::Parse('foo') } } | Should -throw "*Input string was not*"
46+
{ Invoke-gsudo { [int]::Parse('foo') } } | Should -throw "*nput string*"
4747
}
4848

4949
It "It throws when ErrorAction = Stop" {

0 commit comments

Comments
 (0)