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

Unified Diff: tests/compiler/dart2js/union_type_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/union_type_test.dart
diff --git a/tests/compiler/dart2js/union_type_test.dart b/tests/compiler/dart2js/union_type_test.dart
index 4ae2dac475ca8311fb8930621ab6fda7cf704c32..2d18f18b841c5952edcb76b1df5fc0a65159baf7 100644
--- a/tests/compiler/dart2js/union_type_test.dart
+++ b/tests/compiler/dart2js/union_type_test.dart
@@ -9,19 +9,19 @@ import "package:compiler/src/world.dart";
import 'type_test_helper.dart';
main() {
-
asyncTest(() async {
- TypeEnvironment env = await TypeEnvironment.create(r"""
+ TypeEnvironment env = await TypeEnvironment.create(
+ r"""
class A {}
class B {}
""",
- mainSource: r"""
+ mainSource: r"""
main() {
new A();
new B();
}
""",
- useMockCompiler: false);
+ useMockCompiler: false);
World world = env.compiler.world;
world.populate();
FlatTypeMask mask1 = new FlatTypeMask.exact(env.getElement('A'));
« no previous file with comments | « tests/compiler/dart2js/types_of_captured_variables_test.dart ('k') | tests/compiler/dart2js/unparser2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698