-Fixed tests on non-English Windows
This commit is contained in:
@@ -2210,7 +2210,7 @@ bye", reader.Value);
|
||||
{
|
||||
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("0.#############################################################################"));
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace Newtonsoft.Json.Tests.TestObjects
|
||||
public Store()
|
||||
{
|
||||
Mottos.Add("Hello World");
|
||||
Mottos.Add("鲣�能\\'{new Date(12345);}[222]_礍渤~");
|
||||
Mottos.Add("öäüÖÄÜ\\'{new Date(12345);}[222]_µ@²³~");
|
||||
Mottos.Add(null);
|
||||
Mottos.Add(" ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user