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

Unified Diff: tests/language/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/number_identity2_test.dart
diff --git a/tests/language/number_identity2_test.dart b/tests/language/number_identity2_test.dart
index c4737f5a37274f19b0264badf4166629e80fc33b..2bd384176c6afaab6bb533f1c74e9c3c3d5c0257 100644
--- a/tests/language/number_identity2_test.dart
+++ b/tests/language/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