Skip to content

Commit 052a95d

Browse files
committed
update tests
1 parent 39bd183 commit 052a95d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

sshdconfig/locales/en-us.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ registry = "Registry"
1515

1616
[get]
1717
notImplemented = "get not yet implemented for Microsoft.OpenSSH.SSHD/sshd_config"
18-
defaultShellEmpty = "shell cannot be empty"
1918
defaultShellMustBeString = "shell must be a string"
2019
defaultShellCmdOptionMustBeString = "cmdOption must be a string"
2120
defaultShellEscapeArgsMustBe0Or1 = "'%{input}' must be a 0 or 1"

sshdconfig/tests/defaultshell.tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,12 @@ Describe 'Default Shell Configuration Error Handling on Non-Windows Platforms' -
198198

199199
$out = sshdconfig set --input $inputConfig 2>&1
200200
$LASTEXITCODE | Should -Not -Be 0
201-
$out | Should -BeLike '*not applicable to this platform*'
201+
$out | Should -BeLike '*is only applicable to Windows*'
202202
}
203203

204204
It 'Should return error for get command' {
205205
$out = sshdconfig get -s windows-global 2>&1
206206
$LASTEXITCODE | Should -Not -Be 0
207-
$out | Should -BeLike '*not applicable to this platform*'
207+
$out | Should -BeLike '*is only applicable to Windows*'
208208
}
209209
}

0 commit comments

Comments
 (0)