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

Unified Diff: tests/corelib/double_compare_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/corelib/double_compare_test.dart
diff --git a/tests/corelib/double_compare_test.dart b/tests/corelib/double_compare_test.dart
index 287baacb260c3b312c5eaf530448bd2668bcd099..c5a426ecc8f96983a641137718454c68973e67b9 100644
--- a/tests/corelib/double_compare_test.dart
+++ b/tests/corelib/double_compare_test.dart
@@ -14,8 +14,8 @@ void main() {
Expect.equals(0, (-2e50).compareTo(-2e50));
Expect.equals(0, double.NAN.compareTo(double.NAN));
Expect.equals(0, double.INFINITY.compareTo(double.INFINITY));
- Expect.equals(0,
- double.NEGATIVE_INFINITY.compareTo(double.NEGATIVE_INFINITY));
+ Expect.equals(
+ 0, double.NEGATIVE_INFINITY.compareTo(double.NEGATIVE_INFINITY));
Expect.equals(0, (-0.0).compareTo(-0.0));
Expect.isTrue((0.0).compareTo(1.0) < 0);
Expect.isTrue((1.0).compareTo(0.0) > 0);

Powered by Google App Engine
This is Rietveld 408576698