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

Unified Diff: tests/compiler/dart2js_extra/mirrors_used_warning_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_extra/mirrors_used_warning_test.dart
diff --git a/tests/compiler/dart2js_extra/mirrors_used_warning_test.dart b/tests/compiler/dart2js_extra/mirrors_used_warning_test.dart
index 343e09098164ef4b226146fc4c40997a1aa8472d..4a8a6492db396ba2268d81b0f11fa353e42fc7b0 100644
--- a/tests/compiler/dart2js_extra/mirrors_used_warning_test.dart
+++ b/tests/compiler/dart2js_extra/mirrors_used_warning_test.dart
@@ -24,15 +24,19 @@ runTests() {
Expect.equals("foo", new A().foo);
Expect.isTrue(lines.isEmpty);
var barResult = new A().bar;
- Expect.equals("bar", barResult); /// minif: ok
+ Expect.equals("bar", barResult);
+
+ /// minif: ok
Expect.isTrue(lines.length == 1);
var line = lines.first;
Expect.isTrue(line.contains("Warning") &&
- line.contains("bar") && /// minif: continued
- line.contains("minif"));
+ line.contains("bar") &&
+
+ /// minif: continued
+ line.contains("minif"));
}
main() {
runZoned(runTests,
- zoneSpecification: new ZoneSpecification(print: capturePrint));
+ zoneSpecification: new ZoneSpecification(print: capturePrint));
}

Powered by Google App Engine
This is Rietveld 408576698