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

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

Issue 175133003: Update tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 | « no previous file | tests/compiler/dart2js/no_constructor_body_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 d2af8f727fd3ca5a9f7690c0c566ee959eff6b49..13c21f040681c35f768c72d718d09f2277f6c10b 100644
--- a/tests/compiler/dart2js/class_codegen_test.dart
+++ b/tests/compiler/dart2js/class_codegen_test.dart
@@ -67,15 +67,15 @@ 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() {
checkOutput(String generated) {
- Expect.isTrue(generated.contains(new RegExp('A: {[ \n]*"": "Object;"')));
- Expect.isTrue(generated.contains(new RegExp('B: {[ \n]*"": "A;"')));
+ Expect.isTrue(generated.contains(new RegExp('A: {[ \n]*"\\^": "Object;"')));
+ Expect.isTrue(generated.contains(new RegExp('B: {[ \n]*"\\^": "A;"')));
}
asyncTest(() => compileAll(TEST_TWO).then(checkOutput));
@@ -85,7 +85,7 @@ subClass() {
fieldTest() {
asyncTest(() => compileAll(TEST_FOUR).then((generated) {
Expect.isTrue(generated.contains(
- new RegExp('B: {[ \n]*"": "A;y,z,x",[ \n]*static:')));
+ new RegExp('B: {[ \n]*"\\^": "A;y,z,x",[ \n]*static:')));
}));
}
« no previous file with comments | « no previous file | tests/compiler/dart2js/no_constructor_body_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698