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

Unified Diff: tests/compiler/dart2js/simple_inferrer_callers_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/simple_inferrer_callers_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_callers_test.dart b/tests/compiler/dart2js/simple_inferrer_callers_test.dart
index b4f4c2a9e76570ce1766f3069a0d8922abaf9271..85b537e24254e871ffc1fd12e93c89ba7e3d4ab7 100644
--- a/tests/compiler/dart2js/simple_inferrer_callers_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_callers_test.dart
@@ -39,13 +39,13 @@ void main() {
var inferrer = new MyInferrer(compiler, compiler.commonMasks);
compiler.globalInference.typesInferrer = inferrer;
asyncTest(() => compiler.run(uri).then((_) {
- var mainElement = findElement(compiler, 'main');
- var classA = findElement(compiler, 'A');
- var fieldA = classA.lookupLocalMember('field');
- var classB = findElement(compiler, 'B');
- var fieldB = classB.lookupLocalMember('field');
-
- Expect.isTrue(inferrer.getCallersOf(fieldA).contains(mainElement));
- Expect.isTrue(inferrer.getCallersOf(fieldB).contains(mainElement));
- }));
+ var mainElement = findElement(compiler, 'main');
+ var classA = findElement(compiler, 'A');
+ var fieldA = classA.lookupLocalMember('field');
+ var classB = findElement(compiler, 'B');
+ var fieldB = classB.lookupLocalMember('field');
+
+ Expect.isTrue(inferrer.getCallersOf(fieldA).contains(mainElement));
+ Expect.isTrue(inferrer.getCallersOf(fieldB).contains(mainElement));
+ }));
}
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_and_or_test.dart ('k') | tests/compiler/dart2js/simple_inferrer_closure_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698