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

Unified Diff: tests/compiler/dart2js/interop_anonymous_unreachable_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/interop_anonymous_unreachable_test.dart
diff --git a/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart b/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
index a8616b4168e1b7687b49381d69721f45c029ac4a..33b8ea374be32040511cdb79428449f2456da091 100644
--- a/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
+++ b/tests/compiler/dart2js/interop_anonymous_unreachable_test.dart
@@ -10,8 +10,7 @@ import 'compiler_helper.dart';
main() {
test("unreachable code doesn't crash the compiler", () async {
// This test is a regression for Issue #24974
- String generated = await compile(
- """
+ String generated = await compile("""
import 'package:js/js.dart';
@JS() @anonymous
@@ -19,8 +18,7 @@ main() {
external factory UniqueLongNameForTesting_A();
}
main() {}
- """,
- returnAll: true);
+ """, returnAll: true);
// the code should not be included in the output either.
expect(generated, isNot(contains("UniqueLongNameForTesting_A")));
« no previous file with comments | « tests/compiler/dart2js/instantiated_classes_test.dart ('k') | tests/compiler/dart2js/js_parser_statements_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698