Index: tests/compiler/dart2js/value_range2_test.dart |
diff --git a/tests/compiler/dart2js/value_range2_test.dart b/tests/compiler/dart2js/value_range2_test.dart |
index ac232032bc06ddd969b17182eeb089cdf737d445..768a3f1ff4c2af6acd37d3aa6eb7cc02f4355cf2 100644 |
--- a/tests/compiler/dart2js/value_range2_test.dart |
+++ b/tests/compiler/dart2js/value_range2_test.dart |
@@ -46,16 +46,16 @@ checkSubRange(Range one, Range two, [lower, upper]) { |
buildBound(one, two) { |
// Create a bound just like our current implementation in dart2js does. |
if (two is IntValue) { |
- if (two.isNegative()) { |
+ if (two.isNegative) { |
return new AddValue(one, -two); |
- } else if (two.isZero()) { |
+ } else if (two.isZero) { |
return one; |
} |
} |
if (one is IntValue) { |
- if (one.isNegative()) { |
+ if (one.isNegative) { |
return new SubtractValue(-two, -one); |
- } else if (one.isZero()) { |
+ } else if (one.isZero) { |
return -two; |
} |
} |