Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: tests/compiler/dart2js/patch_test.dart

Issue 40583002: Incorporates feedback by Nicolas for UTF-8 bytes based scanner CL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698