Index: tests/compiler/dart2js/interceptor_almost_constant_test.dart |
diff --git a/tests/compiler/dart2js/interceptor_almost_constant_test.dart b/tests/compiler/dart2js/interceptor_almost_constant_test.dart |
index f32c3f4bbbe85ff32d38286e547957d8c4092e42..72838d763e0ef437b21d82fe376df33988d66142 100644 |
--- a/tests/compiler/dart2js/interceptor_almost_constant_test.dart |
+++ b/tests/compiler/dart2js/interceptor_almost_constant_test.dart |
@@ -16,10 +16,10 @@ const String TEST_ONE = r""" |
main() { |
asyncTest(() => Future.wait([ |
- // Check that almost-constant interceptor is used. |
- compile(TEST_ONE, entry: 'foo', check: (String generated) { |
- String re = r'a && [\w\.]*_methods'; |
- Expect.isTrue(generated.contains(new RegExp(re)), 'contains /$re/'); |
- }) |
- ])); |
+ // Check that almost-constant interceptor is used. |
+ compile(TEST_ONE, entry: 'foo', check: (String generated) { |
+ String re = r'a && [\w\.]*_methods'; |
+ Expect.isTrue(generated.contains(new RegExp(re)), 'contains /$re/'); |
+ }) |
+ ])); |
} |