Skip to content

Commit

Permalink
Removing .Normalize().
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisMerinoP committed Nov 21, 2023
1 parent 336215a commit 96ba99f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jint.Tests/Runtime/NumberTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ public void ParseFloat(string input, double result)
public void ToLocaleString(string parseNumber, string culture, string result)
{
var value = _engine.Evaluate($"({parseNumber}).toLocaleString('{culture}')").AsString();
// Normalized strings to handle different space characters.
Assert.Equal(result.Normalize(), value.Normalize());
Assert.Equal(result, value);
}

[Theory]
Expand Down

0 comments on commit 96ba99f

Please sign in to comment.