-Fixed tests on non-English Windows

This commit is contained in:
James Newton-King
2012-09-08 19:34:06 +12:00
parent ce5800fc07
commit c3158291cc
2 changed files with 2 additions and 2 deletions
@@ -2210,7 +2210,7 @@ bye", reader.Value);
{ {
double d; double d;
d = Convert.ToDouble("6.0221418e23"); d = Convert.ToDouble("6.0221418e23", CultureInfo.InvariantCulture);
Console.WriteLine(d.ToString(new CultureInfo("fr-FR"))); Console.WriteLine(d.ToString(new CultureInfo("fr-FR")));
Console.WriteLine(d.ToString("0.#############################################################################")); Console.WriteLine(d.ToString("0.#############################################################################"));
@@ -47,7 +47,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
public Store() public Store()
{ {
Mottos.Add("Hello World"); Mottos.Add("Hello World");
Mottos.Add("鲣�能\\'{new Date(12345);}[222]_礍渤~"); Mottos.Add("öäüÖÄÜ\\'{new Date(12345);}[222]_µ@²³~");
Mottos.Add(null); Mottos.Add(null);
Mottos.Add(" "); Mottos.Add(" ");