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

Unified Diff: tests/compiler/dart2js_extra/consistent_null_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_null_add_error_test.dart
diff --git a/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart b/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart
index 2c47018903f061c7d85f13b38c65e374a80a50a1..5417ee0e50804108d5a57d266123c39cd3113a0a 100644
--- a/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart
+++ b/tests/compiler/dart2js_extra/consistent_null_add_error_test.dart
@@ -8,7 +8,6 @@ import "package:expect/expect.dart";
//
// They don't, sometimes we generate null.$add, sometimes JSNull_methods.$add.
-
@NoInline()
@AssumeDynamic()
confuse(x) => x;
@@ -22,6 +21,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';
@@ -37,7 +37,6 @@ void check(String name, f1, f2, [f3, f4, f5, f6]) {
if (f6 != null) check2(name, 'f1', f1, 'f6', f6);
}
-
class NullPlusInt {
static f1() {
return confuse(null) + confuse(1);

Powered by Google App Engine
This is Rietveld 408576698