Index: tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
diff --git a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
index 67fa8fc539440641466400000c45819d076e8817..c1a2e3b78b1b1fb1f4652b3d47e2d624556a4c3a 100644 |
--- a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
+++ b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
@@ -16,7 +16,7 @@ main() { |
main() { |
String generated = compileAll(CODE); |
- RegExp regexp = new RegExp(r'\$.A = {\n "super"'); |
+ RegExp regexp = new RegExp(r'\$.A = {"":"[A-za-z]+;"'); |
Iterator<Match> matches = regexp.allMatches(generated).iterator(); |
checkNumberOfMatches(matches, 1); |
} |