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

Unified Diff: tests/compiler/dart2js/interpolation_folding_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/interpolation_folding_test.dart
diff --git a/tests/compiler/dart2js/interpolation_folding_test.dart b/tests/compiler/dart2js/interpolation_folding_test.dart
index 673a85cef09130e23fe125032ab85cb65cafbe98..ad99195e2f7af5d775be3504053ace14a7da4f4b 100644
--- a/tests/compiler/dart2js/interpolation_folding_test.dart
+++ b/tests/compiler/dart2js/interpolation_folding_test.dart
@@ -46,18 +46,18 @@ main() {
}
asyncTest(() => Future.wait([
- // Full substitution.
- check(TEST_1, r'"u120vhellow"'),
+ // Full substitution.
+ check(TEST_1, r'"u120vhellow"'),
- // Adjacent string fragments get merged.
- check(TEST_2, r'"xxxxxyyyyy"'),
+ // Adjacent string fragments get merged.
+ check(TEST_2, r'"xxxxxyyyyy"'),
- // 1. No merging of fragments that are multi-use. Prevents exponential code
- // and keeps author's manual CSE.
- // 2. Know string values require no stringification.
- check(TEST_3, r'return b + "x" + b'),
+ // 1. No merging of fragments that are multi-use. Prevents exponential code
+ // and keeps author's manual CSE.
+ // 2. Know string values require no stringification.
+ check(TEST_3, r'return b + "x" + b'),
- // Known int value can be formatted directly.
- check(TEST_4, r'return "" + b.length'),
- ]));
+ // Known int value can be formatted directly.
+ check(TEST_4, r'return "" + b.length'),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/interop_anonymous_unreachable_test.dart ('k') | tests/compiler/dart2js/is_inference2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698