Convert ShouldBeErrorId to Should -Throw -ErrorId in PowerShell tests. Get rid of try { } catch { } formula to assert that errors were thrown. Small fixes in tests to obey the new Pester -Parameter syntax. |
||
---|---|---|
.. | ||
NativeCommandArguments.Tests.ps1 | ||
NativeCommandProcessor.Tests.ps1 | ||
NativeLinuxCommands.Tests.ps1 | ||
NativeStreams.Tests.ps1 | ||
NativeUnixGlobbing.Tests.ps1 |