| Index: tests/compiler/dart2js/rewrite_better_user_test.dart
|
| diff --git a/tests/compiler/dart2js/rewrite_better_user_test.dart b/tests/compiler/dart2js/rewrite_better_user_test.dart
|
| index e310472a4454eafabe35848fa159ae3436c1832e..9361458cbd1ce0dd24661e9401b62ad4bd485d98 100644
|
| --- a/tests/compiler/dart2js/rewrite_better_user_test.dart
|
| +++ b/tests/compiler/dart2js/rewrite_better_user_test.dart
|
| @@ -26,10 +26,9 @@ main() {
|
|
|
| main() {
|
| String generated = compileAll(TEST);
|
| - RegExp regexp = const RegExp('foo\\\$0\\\$bailout');
|
| + RegExp regexp = const RegExp(r'(b|foo\$0\$bailout)\(');
|
| Iterator matches = regexp.allMatches(generated).iterator();
|
|
|
| // We check that there is only one call to the bailout method.
|
| - // One match for the call, one for the definition.
|
| - checkNumberOfMatches(matches, 2);
|
| + checkNumberOfMatches(matches, 1);
|
| }
|
|
|