Index: tests/lib_strong/math/min_max_test.dart |
diff --git a/tests/lib_strong/math/min_max_test.dart b/tests/lib_strong/math/min_max_test.dart |
index cf58169b5f8db2a16dd6c7b7e136b240cb4040b2..6cf4dfc32fe3db84b02c4c1a9caf8ea029e4961b 100644 |
--- a/tests/lib_strong/math/min_max_test.dart |
+++ b/tests/lib_strong/math/min_max_test.dart |
@@ -5,6 +5,7 @@ |
// VMOptions=--optimization-counter-threshold=10 --no-background-compilation |
library min_max_test; |
+ |
import "package:expect/expect.dart"; |
import 'dart:math'; |
@@ -16,11 +17,11 @@ class Wrap implements Comparable { |
final value; |
Wrap(this.value); |
int compareTo(Wrap other) => value.compareTo(other.value); |
- bool operator<(Wrap other) => compareTo(other) < 0; |
- bool operator<=(Wrap other) => compareTo(other) <= 0; |
- bool operator>(Wrap other) => compareTo(other) > 0; |
- bool operator>=(Wrap other) => compareTo(other) >= 0; |
- bool operator==(other) => other is Wrap && compareTo(other) == 0; |
+ bool operator <(Wrap other) => compareTo(other) < 0; |
+ bool operator <=(Wrap other) => compareTo(other) <= 0; |
+ bool operator >(Wrap other) => compareTo(other) > 0; |
+ bool operator >=(Wrap other) => compareTo(other) >= 0; |
+ bool operator ==(other) => other is Wrap && compareTo(other) == 0; |
String toString() => 'Wrap($value)'; |
int get hashCode => value.hashCode; |
} |