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

Unified Diff: tests/compiler/dart2js_extra/consistent_add_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_add_error_test.dart
diff --git a/tests/compiler/dart2js_extra/consistent_add_error_test.dart b/tests/compiler/dart2js_extra/consistent_add_error_test.dart
index 22927e2ab56892a97e993d6860179009ba5d0b83..07960858e3d8ca637f2b6c42aaf2f126a4165455 100644
--- a/tests/compiler/dart2js_extra/consistent_add_error_test.dart
+++ b/tests/compiler/dart2js_extra/consistent_add_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 IntPlusNull {
}
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;
}
@@ -117,7 +118,7 @@ class IntPlusString {
}
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');
}
@@ -130,7 +131,7 @@ class IntPlusString {
}
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';
}
« no previous file with comments | « tests/compiler/dart2js_extra/conditional_test.dart ('k') | tests/compiler/dart2js_extra/consistent_codeUnitAt_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698