diff options
Diffstat (limited to 'android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt')
-rw-r--r-- | android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt b/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt index 64e31f5..ca967ee 100644 --- a/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt +++ b/android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt @@ -2,7 +2,7 @@ Test Battery Status API callback in WebView batteryStatusSuccess invoked PASS: battery.level is >= 0 PASS: battery.level is <= 1 -PASS: isInteger(battery.level * 100) is true +PASS: battery.level.toPrecision(2) === battery.level.toString() is true PASS: !battery.charging || battery.dischargingTime === Infinity is true PASS: battery.charging || battery.chargingTime === Infinity is true -TEST FINISHED
\ No newline at end of file +TEST FINISHED |