Before the fix Select-Object without parameters added custom 'Selected.' type to PSCustomObject even if this type was already present in TypeNames that was a memory leak in the edge case. The cause of the problem was that Select-Object without parameters did not create a new object but forwarded the original. The fix is to add custom 'Selected.' type only if object is original and it has not already custom 'Selected.*' type. |
||
---|---|---|
.. | ||
common/markdown | ||
docker/networktest | ||
hosting | ||
nanoserver | ||
packaging/windows | ||
powershell | ||
shebang | ||
tools | ||
xUnit | ||
README.md | ||
Test.Common.props |
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.