mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fixes incorrect string to type conversions like: [Type] 'int]whatever' so they are no longer parsed as types. This was fixed by adding a check for ScanType to also check that the parsed type name matches the input type name.
Testing
The tests are organized by testing language. Thus Pester tests, which are written in the PowerShell language, are in ./powershell and xUnit tests, written in C#, are in ./xUnit. The third-party shebang test is in ./shebang.