Index: tests/compiler/dart2js/redundant_phi_eliminator_test.dart |
diff --git a/tests/compiler/dart2js/redundant_phi_eliminator_test.dart b/tests/compiler/dart2js/redundant_phi_eliminator_test.dart |
index d7f2b72419281c0d2a286270a077ba035e6b4cc7..da81d94c5ae2c037f569dba136c6e0e959fab90a 100644 |
--- a/tests/compiler/dart2js/redundant_phi_eliminator_test.dart |
+++ b/tests/compiler/dart2js/redundant_phi_eliminator_test.dart |
@@ -17,7 +17,6 @@ void foo(bar) { |
} |
"""; |
- |
const String TEST_TWO = r""" |
void foo() { |
var temp = 0; |
@@ -31,16 +30,15 @@ void foo() { |
main() { |
asyncTest(() => Future.wait([ |
- compile(TEST_ONE, entry: 'foo', check: (String generated) { |
- RegExp regexp = new RegExp("toBeRemoved"); |
- Expect.isTrue(!regexp.hasMatch(generated)); |
- }), |
- |
- compile(TEST_TWO, entry: 'foo', check: (String generated) { |
- RegExp regexp = new RegExp("toBeRemoved"); |
- Expect.isTrue(!regexp.hasMatch(generated)); |
- regexp = new RegExp("temp"); |
- Expect.isTrue(!regexp.hasMatch(generated)); |
- }), |
- ])); |
+ compile(TEST_ONE, entry: 'foo', check: (String generated) { |
+ RegExp regexp = new RegExp("toBeRemoved"); |
+ Expect.isTrue(!regexp.hasMatch(generated)); |
+ }), |
+ compile(TEST_TWO, entry: 'foo', check: (String generated) { |
+ RegExp regexp = new RegExp("toBeRemoved"); |
+ Expect.isTrue(!regexp.hasMatch(generated)); |
+ regexp = new RegExp("temp"); |
+ Expect.isTrue(!regexp.hasMatch(generated)); |
+ }), |
+ ])); |
} |