| Index: tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
|
| diff --git a/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart b/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
|
| index 598c28a8fbc20baed76d61c29627cbc7b095b05e..601386339e20fc1a292c25b2a6ce6eabdfb1d5e2 100644
|
| --- a/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
|
| +++ b/tests/compiler/dart2js/no_duplicate_constructor_body2_test.dart
|
| @@ -22,7 +22,7 @@ main() {
|
|
|
| main() {
|
| String generated = compileAll(CODE);
|
| - RegExp regexp = new RegExp(r'A\$0: function');
|
| + RegExp regexp = new RegExp(r'[A-Za-z0-9$]+: ?function');
|
| Iterator<Match> matches = regexp.allMatches(generated).iterator();
|
| checkNumberOfMatches(matches, 1);
|
| }
|
|
|