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

Unified Diff: tests/compiler/dart2js/benign_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/benign_error_test.dart
diff --git a/tests/compiler/dart2js/benign_error_test.dart b/tests/compiler/dart2js/benign_error_test.dart
index 28c84dd658cd2fb5e69fd3ebf6f0f1d2a9eaecb2..143239b3b162c4e6e41f8dea159fb5966559bbe7 100644
--- a/tests/compiler/dart2js/benign_error_test.dart
+++ b/tests/compiler/dart2js/benign_error_test.dart
@@ -28,13 +28,12 @@ testExamples(MessageKind kind) async {
}
DiagnosticCollector collector = new DiagnosticCollector();
CompilationResult result = await runCompiler(
- memorySourceFiles: example,
- diagnosticHandler: collector);
+ memorySourceFiles: example, diagnosticHandler: collector);
Expect.isTrue(result.isSuccess);
- Expect.isTrue(
- collector.errors.any((message) => message.messageKind == kind));
+ Expect
+ .isTrue(collector.errors.any((message) => message.messageKind == kind));
Compiler compiler = result.compiler;
JavaScriptBackend backend = compiler.backend;
Expect.isNotNull(backend.generatedCode[compiler.mainFunction]);
}
-}
+}
« no previous file with comments | « tests/compiler/dart2js/begin_end_token_test.dart ('k') | tests/compiler/dart2js/boolified_operator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698