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

Unified Diff: tests/compiler/dart2js/async_compiler_input_provider_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/async_compiler_input_provider_test.dart
diff --git a/tests/compiler/dart2js/async_compiler_input_provider_test.dart b/tests/compiler/dart2js/async_compiler_input_provider_test.dart
index c7bc35bb55b9c937ba43c182db52e9ba58a9d84f..b178c3e6ddd65a5535d019502b76bfb33ee8f69f 100644
--- a/tests/compiler/dart2js/async_compiler_input_provider_test.dart
+++ b/tests/compiler/dart2js/async_compiler_input_provider_test.dart
@@ -47,13 +47,13 @@ main() {
Uri packageRoot = script.resolve('./packages/');
asyncTest(() => compiler.compile(entrypoint, libraryRoot, packageRoot,
- provideInput, handleDiagnostic, []).then((code) {
- Expect.isNotNull(code);
- }));
+ provideInput, handleDiagnostic, []).then((code) {
+ Expect.isNotNull(code);
+ }));
}
-void handleDiagnostic(Uri uri, int begin, int end, String message,
- compiler.Diagnostic kind) {
+void handleDiagnostic(
+ Uri uri, int begin, int end, String message, compiler.Diagnostic kind) {
print(message);
if (kind != compiler.Diagnostic.VERBOSE_INFO) {
throw 'Unexpected diagnostic kind $kind';
« no previous file with comments | « tests/compiler/dart2js/async_await_js_transform_test.dart ('k') | tests/compiler/dart2js/bad_loop_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698