Index: tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
diff --git a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
index cb9e4c8b0da5e6a6f3c732f0fb16e2c2d83ebd0b..cf9deece052d4482faa44a17a5341ebb790f7f20 100644 |
--- a/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
+++ b/tests/compiler/dart2js/gvn_dynamic_field_get_test.dart |
@@ -26,16 +26,16 @@ main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST, uri); |
asyncTest(() => compiler.run(uri).then((_) { |
- String generated = compiler.assembledCode; |
- RegExp regexp = new RegExp(r"get\$foo"); |
- Iterator matches = regexp.allMatches(generated).iterator; |
- checkNumberOfMatches(matches, 1); |
- var cls = findElement(compiler, 'A'); |
- Expect.isNotNull(cls); |
- String name = 'foo'; |
- var element = cls.lookupLocalMember(name); |
- Expect.isNotNull(element); |
- Selector selector = new Selector.getter(new PublicName(name)); |
- Expect.isFalse(compiler.world.hasAnyUserDefinedGetter(selector, null)); |
- })); |
+ String generated = compiler.assembledCode; |
+ RegExp regexp = new RegExp(r"get\$foo"); |
+ Iterator matches = regexp.allMatches(generated).iterator; |
+ checkNumberOfMatches(matches, 1); |
+ var cls = findElement(compiler, 'A'); |
+ Expect.isNotNull(cls); |
+ String name = 'foo'; |
+ var element = cls.lookupLocalMember(name); |
+ Expect.isNotNull(element); |
+ Selector selector = new Selector.getter(new PublicName(name)); |
+ Expect.isFalse(compiler.world.hasAnyUserDefinedGetter(selector, null)); |
+ })); |
} |