Specified culture to make test run green on non-us systems.
This commit is contained in:
parent
11d4396543
commit
c4615ef125
|
@ -1,5 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
@ -1366,7 +1367,8 @@ Your order total was: {{Total:C}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/with}}";
|
{{/with}}";
|
||||||
Generator generator = compiler.Compile(format);
|
Generator generator = compiler.Compile(format);
|
||||||
string result = generator.Render(new
|
|
||||||
|
string result = generator.Render(CultureInfo.GetCultureInfo("en-US"), new
|
||||||
{
|
{
|
||||||
Customer = new { FirstName = "Bob" },
|
Customer = new { FirstName = "Bob" },
|
||||||
Order = new
|
Order = new
|
||||||
|
|
Loading…
Reference in New Issue