Chromium Code Reviews| Index: tests/compiler/dart2js/type_inference5_test.dart |
| diff --git a/tests/compiler/dart2js/type_inference5_test.dart b/tests/compiler/dart2js/type_inference5_test.dart |
| index aa850bb09e3a2602fa9d37055ea57b99aa75a968..e9f1ff201af9dd21450e1b5b8be64e45106a99ce 100644 |
| --- a/tests/compiler/dart2js/type_inference5_test.dart |
| +++ b/tests/compiler/dart2js/type_inference5_test.dart |
| @@ -21,6 +21,6 @@ main() { |
| Expect.isFalse(generated.contains('iae')); |
| // Also make sure that we are not just in bailout mode without speculative |
| // types by grepping for the integer-bailout check on argument j. |
| - RegExp regexp = new RegExp(getIntTypeCheck('j')); |
| + RegExp regexp = new RegExp(getIntTypeCheck('[aj]')); |
|
floitsch
2012/10/15 11:17:18
rename "a" above so that the array cannot be confu
|
| Expect.isTrue(regexp.hasMatch(generated)); |
| } |