Index: tests/compiler/dart2js_extra/consistent_subtract_error_test.dart |
diff --git a/tests/compiler/dart2js_extra/consistent_subtract_error_test.dart b/tests/compiler/dart2js_extra/consistent_subtract_error_test.dart |
index 757c37dff58a3d4044d61ce406157a2e8add75e0..ed396916ae300803be37403cc3138cd3394eb1b9 100644 |
--- a/tests/compiler/dart2js_extra/consistent_subtract_error_test.dart |
+++ b/tests/compiler/dart2js_extra/consistent_subtract_error_test.dart |
@@ -19,6 +19,7 @@ void check2(String name, name1, f1, name2, f2) { |
} |
Expect.fail('should throw: $name.$part'); |
} |
+ |
var e1 = trap(name1, f1); |
var e2 = trap(name2, f2); |
var s1 = '$e1'; |
@@ -53,12 +54,12 @@ class IntMinusNull { |
} |
static f5() { |
- var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
+ var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
return a - confuse(null); |
} |
static f6() { |
- var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
+ var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
return a - null; |
} |
@@ -81,7 +82,7 @@ class IntMinusString { |
} |
static f3() { |
- var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
+ var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
return a - confuse('a'); |
} |
@@ -94,7 +95,7 @@ class IntMinusString { |
} |
static f6() { |
- var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
+ var a = confuse(true) ? 1 : 2; // Small int with unknown value. |
return a - 'a'; |
} |