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

Unified Diff: tests/compiler/dart2js_extra/type_error_message_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/type_error_message_test.dart
diff --git a/tests/compiler/dart2js_extra/type_error_message_test.dart b/tests/compiler/dart2js_extra/type_error_message_test.dart
index 1f44f6fdee1460ab6ae2983c880f093641593250..e3f3f90f54643e3ea0f3fa635fcef592c2494d3c 100644
--- a/tests/compiler/dart2js_extra/type_error_message_test.dart
+++ b/tests/compiler/dart2js_extra/type_error_message_test.dart
@@ -27,9 +27,10 @@ main() {
String nameOfC = (C).toString();
String nameOfInt = (int).toString();
String nameOfString = (String).toString();
- String expected = '$nameOfC<$nameOfC<$nameOfInt, $nameOfString>, $nameOfString>';
+ String expected =
+ '$nameOfC<$nameOfC<$nameOfInt, $nameOfString>, $nameOfString>';
Expect.isTrue(e.toString().contains(expected),
- 'Expected "$expected" in the message');
+ 'Expected "$expected" in the message');
caught = true;
}
Expect.isTrue(caught);

Powered by Google App Engine
This is Rietveld 408576698