Closed
Description
Steps to reproduce
cd PSScriptAnalyzer
./build.ps1 -All
Import-Module .\out\PSScriptAnalyzer\PSScriptAnalyzer.psd1
./build.ps1. -Test
Expected behavior
all tests pass.
Actual behavior
RuntimeException: A null key is not allowed in a hash literal.
UseCompatibleTypes.Tests.ps1& UseCompatibleCommands.Tests.ps1 failed.
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.1023
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1023
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
PesterVersion 5.2.2