We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 137a4bb commit 0401cf8Copy full SHA for 0401cf8
CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs
@@ -2,6 +2,7 @@
2
//
3
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
4
5
+using System.Globalization;
6
using System.Threading.Tasks;
7
using Xunit;
8
using Xunit.Abstractions;
@@ -64,7 +65,7 @@ public async Task CanEvaluateDoubleValues(double num)
64
65
66
Assert.False(browser.IsLoading);
67
- var javascriptResponse = await browser.EvaluateScriptAsync(num.ToString());
68
+ var javascriptResponse = await browser.EvaluateScriptAsync(num.ToString(CultureInfo.InvariantCulture));
69
Assert.True(javascriptResponse.Success);
70
71
var actualType = javascriptResponse.Result.GetType();
0 commit comments