Skip to content

"should write the test-suite information" breaks on german machine. Probably an issue with culture awareness. #109

@pullrich

Description

@pullrich

Pester\Functions\TestResults.Tests.ps1
Write nunit test results
[-] should write the test-suite information 68ms
Expected: {2.1}, But was {2,1}

There seems to be an issue with culture awareness. This test breaks on a german Windows machine because the german Windows default for decimal sign is comma (",") and the sign for decimal grouping is dot (".").
Changing the Windows defaults accordingly makes this test pass - after restarting PowerShell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions