Index: tests/compiler/dart2js/interceptor_test.dart |
diff --git a/tests/compiler/dart2js/interceptor_test.dart b/tests/compiler/dart2js/interceptor_test.dart |
index c9bd14c39242fc72b57e6be9b44e9b9a294a2ab0..b7d375da488a5972817f6f7251e9070ac6bb29d6 100644 |
--- a/tests/compiler/dart2js/interceptor_test.dart |
+++ b/tests/compiler/dart2js/interceptor_test.dart |
@@ -27,22 +27,22 @@ const String TEST_TWO = r""" |
main() { |
asyncTest(() => Future.wait([ |
- // Check that one-shot interceptors preserve variable names, see |
- // https://code.google.com/p/dart/issues/detail?id=8106. |
- compile(TEST_ONE, entry: 'foo', check: (String generated) { |
- Expect.isTrue( |
- generated.contains(new RegExp(r'[$A-Z]+\.toString\$0\$\(a\)'))); |
- Expect.isTrue(generated.contains('myVariableName')); |
- }), |
- // Check that an intercepted getter that does not need to be |
- // intercepted, is turned into a regular getter call or field |
- // access. |
- compile(TEST_TWO, entry: 'foo', check: (String generated) { |
- Expect.isFalse(generated.contains(r'a.get$length()')); |
- Expect.isTrue( |
- generated.contains(new RegExp(r'[$A-Z]+\.A\$\(\)\.length'))); |
- Expect.isTrue( |
- generated.contains(new RegExp(r'[$A-Z]+\.get\$length\$as\(a\)'))); |
- }), |
- ])); |
+ // Check that one-shot interceptors preserve variable names, see |
+ // https://code.google.com/p/dart/issues/detail?id=8106. |
+ compile(TEST_ONE, entry: 'foo', check: (String generated) { |
+ Expect.isTrue( |
+ generated.contains(new RegExp(r'[$A-Z]+\.toString\$0\$\(a\)'))); |
+ Expect.isTrue(generated.contains('myVariableName')); |
+ }), |
+ // Check that an intercepted getter that does not need to be |
+ // intercepted, is turned into a regular getter call or field |
+ // access. |
+ compile(TEST_TWO, entry: 'foo', check: (String generated) { |
+ Expect.isFalse(generated.contains(r'a.get$length()')); |
+ Expect.isTrue( |
+ generated.contains(new RegExp(r'[$A-Z]+\.A\$\(\)\.length'))); |
+ Expect.isTrue( |
+ generated.contains(new RegExp(r'[$A-Z]+\.get\$length\$as\(a\)'))); |
+ }), |
+ ])); |
} |