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

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

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests 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
Index: tests/compiler/dart2js/simple_inferrer_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_test.dart b/tests/compiler/dart2js/simple_inferrer_test.dart
index 879f8194d65a2756a65504151ac2d988b4c42953..93d2737eb33c52e32b954ee7a6328430025bed91 100644
--- a/tests/compiler/dart2js/simple_inferrer_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_test.dart
@@ -793,7 +793,7 @@ void main() {
checkReturnInClass(String className, String methodName, type) {
var cls = findElement(compiler, className);
- var element = cls.lookupLocalMember(buildSourceString(methodName));
+ var element = cls.lookupLocalMember(methodName);
Expect.equals(type,
typesInferrer.getReturnTypeOfElement(element).simplify(compiler));
}
@@ -818,7 +818,7 @@ void main() {
checkFactoryConstructor(String className, String factoryName) {
var cls = findElement(compiler, className);
- var element = cls.localLookup(buildSourceString(factoryName));
+ var element = cls.localLookup(factoryName);
Expect.equals(new TypeMask.nonNullExact(cls),
typesInferrer.getReturnTypeOfElement(element));
}

Powered by Google App Engine
This is Rietveld 408576698