409ab7443f
* Fix GetType() bad pattern and related issues in tests $var.GetType() can raise an exception in tests so we should check $var before make the call. A large part of the tests does not make this check. I start with searching ".GetType()" but discovered many related issues in tests (reduntant and unneeded tests, "throw" bad pattens, bugs, formattings (sorry!) and so on) - I had to fix them too. * Fix after code review * Second wave of migration GetType() -> BeOfType Removed 'GetType().Name' patterns. |
||
---|---|---|
.. | ||
MSFT_778492.psm1 | ||
ProtectedAccess.Tests.ps1 | ||
Scripting.Classes.Attributes.Tests.ps1 | ||
Scripting.Classes.BasicParsing.Tests.ps1 | ||
Scripting.Classes.Break.Tests.ps1 | ||
Scripting.Classes.Exceptions.Tests.ps1 | ||
scripting.Classes.inheritance.tests.ps1 | ||
Scripting.Classes.MiscOps.Tests.ps1 | ||
Scripting.Classes.Modules.Tests.ps1 | ||
scripting.Classes.NestedModules.tests.ps1 | ||
scripting.Classes.using.tests.ps1 | ||
scripting.enums.tests.ps1 |