Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit 564957c

Browse files
committed
Use en-US for culture-dependent tests.
1 parent f6db81a commit 564957c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Test/ICSharpCode.Reporting.Test/src/Expressions/Aggregates

src/AddIns/Misc/Reporting/ICSharpCode.Reporting/Test/ICSharpCode.Reporting.Test/src/Expressions/Aggregates/SumAggregateFixture.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
namespace ICSharpCode.Reporting.Test.Expressions.Aggregates
2828
{
2929
[TestFixture]
30+
[SetCulture("en-US")]
3031
public class SumAggregate
3132
{
3233

@@ -51,7 +52,7 @@ public void CanSum_Double_WholeCollection()
5152
{
5253
var script = "= sum('doubleValue')";
5354
var result = Evaluate(script);
54-
Assert.That (result.Text,Is.EqualTo("408,25"));
55+
Assert.That (result.Text,Is.EqualTo("408.25"));
5556
Assert.That(Convert.ToDouble(result.Text),Is.TypeOf(typeof(double)));
5657
}
5758

@@ -61,7 +62,7 @@ public void CanSum_Double_With_String_Concat()
6162
{
6263
var script = "= 'myText ' + sum('doubleValue')";
6364
var result = Evaluate(script);
64-
Assert.That (result.Text,Is.EqualTo("myText 408,25"));
65+
Assert.That (result.Text,Is.EqualTo("myText 408.25"));
6566
}
6667

6768

0 commit comments

Comments
 (0)