mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add two properties in `ProviderInfo` class: `ItemSeparator` and `AltItemSeparator`. On windows, the default values for those two properties are `ItemSeparator = '\'` and `AltItemSeparator = '/'`. On unix, the default values for those two properties are `ItemSeparator = '/'` and `AltItemSeparator = '\'`. Registry provider is the only exception, both properties for it have the value `\`.
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.