Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: tests/language_strong/number_identity2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language_strong/number_identity2_test.dart
diff --git a/tests/language_strong/number_identity2_test.dart b/tests/language_strong/number_identity2_test.dart
index 655ac517c5fb6cd45ddc0133853e430af44be627..b8c670dd5c92e89783009c1ea89586f89ae692e5 100644
--- a/tests/language_strong/number_identity2_test.dart
+++ b/tests/language_strong/number_identity2_test.dart
@@ -17,7 +17,7 @@ double uint64toDouble(int i) {
return bdata.getFloat64(0);
}
-testNumberIdentity () {
+testNumberIdentity() {
var a = double.NAN;
var b = a + 0.0;
Expect.isTrue(identical(a, b));
@@ -26,8 +26,8 @@ testNumberIdentity () {
b = uint64toDouble((1 << 64) - 2);
Expect.isFalse(identical(a, b));
- a = 0.0/0.0;
- b = 1.0/0.0;
+ a = 0.0 / 0.0;
+ b = 1.0 / 0.0;
Expect.isFalse(identical(a, b));
}

Powered by Google App Engine
This is Rietveld 408576698