kbilsted / StatePrinter

Automating unit testing and ToString() coding
Apache License 2.0
92 stars 31 forks source link

CultureInfo is not respected #56

Closed mikechamberlain closed 5 years ago

mikechamberlain commented 6 years ago

On the master branch in the CultureTests.CultureDependentPrinting_us test, the test fails on my machine with the result:

String lengths are both 21. Strings differ at index 1.
Expected: "2/28/2010 10:10:59 PM"
But was:  "28-Feb-10 10:10:59 PM"

My machine uses the Thailand culture.

kbilsted commented 6 years ago

Your guess is as good as mine. Perhaps that particular culture info is not installed on your machine? I'd be great if you can dig up an answer. Currently the test is run on a danish windows and an uk/us machine (appveyor)

kbilsted commented 6 years ago

@mikechamberlain any progress on this? is said culture installed on the machine?

kbilsted commented 5 years ago

closing can't reproduce