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

Unified Diff: tests/compiler/dart2js_extra/consistent_subtract_error_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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/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';
}

Powered by Google App Engine
This is Rietveld 408576698