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. |
||
---|---|---|
.. | ||
BooleanParameterDCR.Tests.ps1 | ||
NullableBooleanDCR.Tests.ps1 | ||
ParameterBinding.Tests.ps1 | ||
StaticParameterBinder.Tests.ps1 |