| Index: tests/compiler/dart2js/patch_test.dart
|
| diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
|
| index 05dca8926ddca4d466060bf797875f630f09c6b8..9657bfa2ab9c46bd33711bcaabc6f6ecb53ecfc5 100644
|
| --- a/tests/compiler/dart2js/patch_test.dart
|
| +++ b/tests/compiler/dart2js/patch_test.dart
|
| @@ -736,18 +736,15 @@ testPatchAndSelector() {
|
|
|
| // Check that a method just in the patch class is a target for a
|
| // typed selector.
|
| - var selector = new Selector.call(
|
| - 'method', compiler.coreLibrary, 0);
|
| + var selector = new Selector.call('method', compiler.coreLibrary, 0);
|
| var typedSelector = new TypedSelector.exact(cls, selector);
|
| - Element method =
|
| - cls.implementation.lookupLocalMember('method');
|
| + Element method = cls.implementation.lookupLocalMember('method');
|
| Expect.isTrue(selector.applies(method, compiler));
|
| Expect.isTrue(typedSelector.applies(method, compiler));
|
|
|
| // Check that the declaration method in the declaration class is a target
|
| // for a typed selector.
|
| - selector = new Selector.call(
|
| - 'clear', compiler.coreLibrary, 0);
|
| + selector = new Selector.call('clear', compiler.coreLibrary, 0);
|
| typedSelector = new TypedSelector.exact(cls, selector);
|
| method = cls.lookupLocalMember('clear');
|
| Expect.isTrue(selector.applies(method, compiler));
|
|
|