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

Unified Diff: tests/compiler/dart2js/map_tracer_const_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
« no previous file with comments | « tests/compiler/dart2js/malformed_uri_test.dart ('k') | tests/compiler/dart2js/map_tracer_keys_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/map_tracer_const_test.dart
diff --git a/tests/compiler/dart2js/map_tracer_const_test.dart b/tests/compiler/dart2js/map_tracer_const_test.dart
index 1bb6ca09546f9b67685b76319d296fb62606a0db..ee20f9fdac1d141d4ea697c3ff26a07bc0edeb29 100644
--- a/tests/compiler/dart2js/map_tracer_const_test.dart
+++ b/tests/compiler/dart2js/map_tracer_const_test.dart
@@ -30,14 +30,13 @@ main() {
void main() {
Uri uri = new Uri(scheme: 'source');
- var compiler = compilerFor(TEST, uri,
- expectedErrors: 0, expectedWarnings: 0);
+ var compiler = compilerFor(TEST, uri, expectedErrors: 0, expectedWarnings: 0);
compiler.stopAfterTypeInference = true;
asyncTest(() => compiler.run(uri).then((_) {
- var commonMasks = compiler.commonMasks;
- var typesInferrer = compiler.globalInference.typesInferrer;
- var element = findElement(compiler, 'closure');
- var mask = typesInferrer.getReturnTypeOfElement(element);
- Expect.equals(commonMasks.numType, simplify(mask, compiler));
- }));
+ var commonMasks = compiler.commonMasks;
+ var typesInferrer = compiler.globalInference.typesInferrer;
+ var element = findElement(compiler, 'closure');
+ var mask = typesInferrer.getReturnTypeOfElement(element);
+ Expect.equals(commonMasks.numType, simplify(mask, compiler));
+ }));
}
« no previous file with comments | « tests/compiler/dart2js/malformed_uri_test.dart ('k') | tests/compiler/dart2js/map_tracer_keys_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698