You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "suggests corrections for AliasesToExport with wildcard of UseManifestExportFields is currently set as pending when tests are being run using the coreclr.
This tests needs to be looked into and possibly fixed.
The test is here:
It "suggests corrections for AliasesToExport with wildcard"-pending:($IsCoreClr) {
There are 9 test failures using PowerShell Core on Windows and Ubuntu but they do not fail in AppVeyor for some reason. Those tests were always failing, even when going back to an old commit like 9e37dd34e8564dc7470dda1e0d2596de37bcd679 in January. Therefore those failures are to be considered technical debt. Until we know why AppVeyor lets them pass and fix them afterwards, we have to more diligent with running tests locally or on VSTS using PowerShell Core to make sure that we do not introduce regression. The test failures are:
The text was updated successfully, but these errors were encountered:
I found the reason now: locally I have en-GB culture but the CommunityAnalyzer module that is used by tests provides only locale for en-us, this is probably a PSCore bug (changing the language folder to match my locale makes it work, which is not required in Windows PowerShell)
"suggests corrections for AliasesToExport with wildcard
ofUseManifestExportFields
is currently set as pending when tests are being run using the coreclr.This tests needs to be looked into and possibly fixed.
The test is here:
PSScriptAnalyzer/Tests/Rules/UseToExportFieldsInManifest.tests.ps1
Line 86 in 021711e
9e37dd34e8564dc7470dda1e0d2596de37bcd679
in January. Therefore those failures are to be considered technical debt. Until we know why AppVeyor lets them pass and fix them afterwards, we have to more diligent with running tests locally or on VSTS using PowerShell Core to make sure that we do not introduce regression. The test failures are:The text was updated successfully, but these errors were encountered: