mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-29 03:30:52 +00:00
fixed curly bracket / ascii processing issue
This commit is contained in:
parent
a6c9823475
commit
1815b96280
2 changed files with 3 additions and 3 deletions
|
|
@ -45,8 +45,8 @@ namespace Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android
|
|||
{
|
||||
String failureMessage = TestContext.CurrentContext.Result.Message;
|
||||
String jsonToSendFailure =
|
||||
String.Format("browserstack_executor: {\"action\": \"setSessionStatus\", \"arguments\": " +
|
||||
"{\"status\":\"failed\", \"reason\": {0}}}",
|
||||
String.Format("browserstack_executor: {{\"action\": \"setSessionStatus\", \"arguments\": " +
|
||||
"{{\"status\":\"failed\", \"reason\": {0}}}}}",
|
||||
JsonConvert.ToString(failureMessage));
|
||||
|
||||
((IJavaScriptExecutor)driver).ExecuteScript(jsonToSendFailure);
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ namespace Microsoft.ML.OnnxRuntime.Tests.BrowserStack.Android
|
|||
await Task.Delay(500);
|
||||
}
|
||||
|
||||
var (numPassed, numFailed) = GetPassFailCount();
|
||||
(int numPassed, int numFailed) = GetPassFailCount();
|
||||
|
||||
if (numFailed == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue