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

Unified Diff: tests/compiler/dart2js/error_token_test.dart

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 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/error_token_test.dart
diff --git a/tests/compiler/dart2js/error_token_test.dart b/tests/compiler/dart2js/error_token_test.dart
index 0423c875bc11387c55f1169e87a05383b34ea4d7..6386ca15eadb6ee2acf4177a6e8896269899b336 100644
--- a/tests/compiler/dart2js/error_token_test.dart
+++ b/tests/compiler/dart2js/error_token_test.dart
@@ -32,27 +32,21 @@ Future runTest(String code,
void main() {
asyncTest(() async {
- await runTest(
- '''
+ await runTest('''
main() {Foo.bar();}
class Foo {
static void bar() {
baz());
}
}
-''',
- error: MessageKind.MISSING_TOKEN_AFTER_THIS,
- expectedWarningCount: 1);
+''', error: MessageKind.MISSING_TOKEN_AFTER_THIS, expectedWarningCount: 1);
- await runTest(
- '''
+ await runTest('''
main() {new C(v);}
class C {
C(v) {
throw '');
}
-}''',
- error: MessageKind.MISSING_TOKEN_AFTER_THIS,
- expectedWarningCount: 1);
+}''', error: MessageKind.MISSING_TOKEN_AFTER_THIS, expectedWarningCount: 1);
});
}
« no previous file with comments | « tests/compiler/dart2js/constant_expression_test.dart ('k') | tests/compiler/dart2js/instantiated_classes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698