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

Unified Diff: tests/compiler/dart2js/class_codegen_test.dart

Issue 11776008: 2nd Retry "Emit more stuff via ASTs" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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/backend_htype_list_test.dart ('k') | tests/compiler/dart2js/compiler_helper.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 0aba4ec6c3bb80e9ea5b63d8af4c1205e0f8978a..7a978ff8450e4b4af57289d568a533acd05f65c2 100644
--- a/tests/compiler/dart2js/class_codegen_test.dart
+++ b/tests/compiler/dart2js/class_codegen_test.dart
@@ -64,14 +64,14 @@ main() {
twoClasses() {
String generated = compileAll(TEST_ONE);
- Expect.isTrue(generated.contains('\$.A = {"":"Object;"'));
- Expect.isTrue(generated.contains('\$.B = {"":"Object;"'));
+ Expect.isTrue(generated.contains('\$.A = {"": "Object;"'));
+ Expect.isTrue(generated.contains('\$.B = {"": "Object;"'));
}
subClass() {
checkOutput(String generated) {
- Expect.isTrue(generated.contains('\$.A = {"":"Object;"'));
- Expect.isTrue(generated.contains('\$.B = {"":"A;"'));
+ Expect.isTrue(generated.contains('\$.A = {"": "Object;"'));
+ Expect.isTrue(generated.contains('\$.B = {"": "A;"'));
}
checkOutput(compileAll(TEST_TWO));
@@ -80,9 +80,7 @@ subClass() {
fieldTest() {
String generated = compileAll(TEST_FOUR);
- Expect.isTrue(generated.contains(r"""
-$.B = {"":"A;y,z,x"
-}"""));
+ Expect.isTrue(generated.contains(r"""$.B = {"": "A;y,z,x"}"""));
}
constructor1() {
« no previous file with comments | « tests/compiler/dart2js/backend_htype_list_test.dart ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698