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

Unified Diff: tests/compiler/dart2js/string_interpolation_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/string_escapes_test.dart ('k') | tests/compiler/dart2js/subtype_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/string_interpolation_test.dart
diff --git a/tests/compiler/dart2js/string_interpolation_test.dart b/tests/compiler/dart2js/string_interpolation_test.dart
index 4cb5f608bb7eb41f3728bb093ec86bde1f6ace0a..ae49b852af4ccf8428f98c271011fdaa9dbac31a 100644
--- a/tests/compiler/dart2js/string_interpolation_test.dart
+++ b/tests/compiler/dart2js/string_interpolation_test.dart
@@ -7,13 +7,14 @@ import "package:async_helper/async_helper.dart";
import 'compiler_helper.dart';
main() {
- asyncTest(() => compileAll(
- r'''main() { return "${2}${true}${'a'}${3.14}"; }''').then((code) {
- Expect.isTrue(code.contains(r'2truea3.14'));
- }));
+ asyncTest(() =>
+ compileAll(r'''main() { return "${2}${true}${'a'}${3.14}"; }''')
+ .then((code) {
+ Expect.isTrue(code.contains(r'2truea3.14'));
+ }));
- asyncTest(() => compileAll(
- r'''main() { return "foo ${new Object()}"; }''').then((code) {
- Expect.isFalse(code.contains(r'$add'));
- }));
+ asyncTest(() =>
+ compileAll(r'''main() { return "foo ${new Object()}"; }''').then((code) {
+ Expect.isFalse(code.contains(r'$add'));
+ }));
}
« no previous file with comments | « tests/compiler/dart2js/string_escapes_test.dart ('k') | tests/compiler/dart2js/subtype_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698