Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10ade48

Browse files
campersauamaitland
authored andcommitted
Test - Fix CanEvaluateDoubleValues by not relying on the current culture (#3966)
1 parent1f79515 commit10ade48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎CefSharp.Test/Javascript/EvaluateScriptAsyncFacts.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
usingSystem.Globalization;
56
usingSystem.Threading.Tasks;
67
usingXunit;
78
usingXunit.Abstractions;
@@ -64,7 +65,7 @@ public async Task CanEvaluateDoubleValues(double num)
6465

6566
Assert.False(browser.IsLoading);
6667

67-
varjavascriptResponse=awaitbrowser.EvaluateScriptAsync(num.ToString());
68+
varjavascriptResponse=awaitbrowser.EvaluateScriptAsync(num.ToString(CultureInfo.InvariantCulture));
6869
Assert.True(javascriptResponse.Success);
6970

7071
varactualType=javascriptResponse.Result.GetType();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp