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

Unified Diff: tests/compiler/dart2js/type_checker_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/resolver_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_checker_test.dart
diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
index 00c15d382a587563005ce28eca7c689518204618..19539aef88aae31e5344bfa2e6c2807c3bd31bb4 100644
--- a/tests/compiler/dart2js/type_checker_test.dart
+++ b/tests/compiler/dart2js/type_checker_test.dart
@@ -470,8 +470,7 @@ void testMethodInvocations() {
testMethodInvocationsInClass() {
LibraryElement library = mockLibrary(compiler, CLASS_WITH_METHODS);
compiler.parseScript(CLASS_WITH_METHODS, library);
- ClassElement ClassWithMethods =
- library.find("ClassWithMethods");
+ ClassElement ClassWithMethods = library.find("ClassWithMethods");
ClassWithMethods.ensureResolved(compiler);
Element c = ClassWithMethods.lookupLocalMember('method');
assert(c != null);
@@ -1096,8 +1095,7 @@ class Test<S extends Foo, T> {
compiler.parseScript(script, library);
ClassElement classTest = library.find("Test");
classTest.ensureResolved(compiler);
- FunctionElement methodTest =
- classTest.lookupLocalMember("test");
+ FunctionElement methodTest = classTest.lookupLocalMember("test");
test(String expression, [message]) {
analyzeIn(methodTest, "{ $expression; }", message);
@@ -1138,8 +1136,7 @@ class Test<S extends T, T extends Foo> {
compiler.parseScript(script, library);
ClassElement classTest = library.find("Test");
classTest.ensureResolved(compiler);
- FunctionElement methodTest =
- classTest.lookupLocalMember("test");
+ FunctionElement methodTest = classTest.lookupLocalMember("test");
test(String expression, [message]) {
analyzeIn(methodTest, "{ $expression; }", message);
@@ -1162,8 +1159,7 @@ class Test<S extends T, T extends S> {
compiler.parseScript(script, library);
ClassElement classTest = library.find("Test");
classTest.ensureResolved(compiler);
- FunctionElement methodTest =
- classTest.lookupLocalMember("test");
+ FunctionElement methodTest = classTest.lookupLocalMember("test");
test(String expression, [message]) {
analyzeIn(methodTest, "{ $expression; }", message);
« no previous file with comments | « tests/compiler/dart2js/resolver_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698