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

Unified Diff: tests/compiler/dart2js/error_token_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
« no previous file with comments | « tests/compiler/dart2js/erroneous_element_test.dart ('k') | tests/compiler/dart2js/exit_code_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/error_token_test.dart
diff --git a/tests/compiler/dart2js/error_token_test.dart b/tests/compiler/dart2js/error_token_test.dart
index 2000f1a1fabd3c77f05c2a5d65ac7ac0f308c3a3..6c99b6d4b2212e4f98b6e105582d5984c6bfbf0c 100644
--- a/tests/compiler/dart2js/error_token_test.dart
+++ b/tests/compiler/dart2js/error_token_test.dart
@@ -32,21 +32,25 @@ Future runTest(String code, {MessageKind error}) async {
void main() {
asyncTest(() async {
- await runTest('''
+ await runTest(
+ '''
main() {}
class Foo {
static void bar() {
baz());
}
}
-''', error: MessageKind.UNMATCHED_TOKEN);
+''',
+ error: MessageKind.UNMATCHED_TOKEN);
- await runTest('''
+ await runTest(
+ '''
main() {}
class C {
C(v) {
throw '');
}
-}''', error: MessageKind.UNMATCHED_TOKEN);
+}''',
+ error: MessageKind.UNMATCHED_TOKEN);
});
}
« no previous file with comments | « tests/compiler/dart2js/erroneous_element_test.dart ('k') | tests/compiler/dart2js/exit_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698