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

Unified Diff: tests/compiler/dart2js/class_codegen_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/class_codegen2_test.dart ('k') | tests/compiler/dart2js/class_order_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/class_codegen_test.dart
diff --git a/tests/compiler/dart2js/class_codegen_test.dart b/tests/compiler/dart2js/class_codegen_test.dart
index 58c49bd68802c04ba41fbc0626c022b81c0f8564..d7444689860aeac9c57aad0231af3c2e1b2fc2e4 100644
--- a/tests/compiler/dart2js/class_codegen_test.dart
+++ b/tests/compiler/dart2js/class_codegen_test.dart
@@ -65,9 +65,11 @@ main() {
twoClasses() {
asyncTest(() => compileAll(TEST_ONE).then((generated) {
- Expect.isTrue(generated.contains(new RegExp('A: {[ \n]*"\\^": "Object;"')));
- Expect.isTrue(generated.contains(new RegExp('B: {[ \n]*"\\^": "Object;"')));
- }));
+ Expect.isTrue(
+ generated.contains(new RegExp('A: {[ \n]*"\\^": "Object;"')));
+ Expect.isTrue(
+ generated.contains(new RegExp('B: {[ \n]*"\\^": "Object;"')));
+ }));
}
subClass() {
@@ -82,15 +84,15 @@ subClass() {
fieldTest() {
asyncTest(() => compileAll(TEST_FOUR).then((generated) {
- Expect.isTrue(generated.contains(
- new RegExp('B: {[ \n]*"\\^": "A;y,z,x",[ \n]*static:')));
- }));
+ Expect.isTrue(generated
+ .contains(new RegExp('B: {[ \n]*"\\^": "A;y,z,x",[ \n]*static:')));
+ }));
}
constructor1() {
asyncTest(() => compileAll(TEST_FIVE).then((generated) {
- Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);")));
- }));
+ Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);")));
+ }));
}
main() {
« no previous file with comments | « tests/compiler/dart2js/class_codegen2_test.dart ('k') | tests/compiler/dart2js/class_order_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698