Skip to content

UseCompatibleTypes.Tests & UseCompatibleCommands.Tests test failed. #1695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
t-lipingma opened this issue Jul 9, 2021 · 0 comments · Fixed by #1697
Closed

UseCompatibleTypes.Tests & UseCompatibleCommands.Tests test failed. #1695

t-lipingma opened this issue Jul 9, 2021 · 0 comments · Fixed by #1697

Comments

@t-lipingma
Copy link

Steps to reproduce

cd PSScriptAnalyzer
./build.ps1 -All
Import-Module .\out\PSScriptAnalyzer\PSScriptAnalyzer.psd1
./build.ps1. -Test

Expected behavior

all tests pass.

Actual behavior

image

image

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
@ghost ghost added the Needs: Triage 🔍 label Jul 9, 2021
@t-lipingma t-lipingma changed the title UseCompatibleTypes.Test failed UseCompatibleTypes.Tests & UseCompatibleCommands.Tests test failed. Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant