Skip to content

Some NUnit project's tests fail on systems with CultureInfo other than en  #2179

@gcichosz

Description

@gcichosz

The following tests fail on systems with comma decimal mark settings:

  • NUnit.Framework.Internal.EventListenerTextWriterTests.TestWriteDecimal
  • NUnit.Framework.Internal.EventListenerTextWriterTests.TestWriteDouble
  • NUnit.Framework.Internal.EventListenerTextWriterTests.TestWriteStringArg2
  • NUnit.Framework.Internal.EventListenerTextWriterTests.TestWriteStringArg3
  • NUnit.Framework.Constraints.LessThanConstraintTests.SimpleTolerance_Failure

The following test fails on systems with CultureInfo other than en:

  • NUnit.Framework.Internal.EventListenerTextWriterTests.TestWriteStringArg1

Steps to reproduce:

  1. Change system region, or language settings to one with comma decimal mark (Countries using Arabic numerals with decimal comma), and with language other than English
  2. Run the build script with -Target Test option
  3. See aforementioned tests fail

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions