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

Unified Diff: tests/compiler/dart2js/simple_inferrer_closure_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_closure_test.dart
diff --git a/tests/compiler/dart2js/simple_inferrer_closure_test.dart b/tests/compiler/dart2js/simple_inferrer_closure_test.dart
index 47460445678f39519583d858d912cc7d9a0b26c0..e0879822697e5acdbd7c12fb9ce7a6cc6d098f0c 100644
--- a/tests/compiler/dart2js/simple_inferrer_closure_test.dart
+++ b/tests/compiler/dart2js/simple_inferrer_closure_test.dart
@@ -5,7 +5,6 @@
import 'package:expect/expect.dart';
import "package:async_helper/async_helper.dart";
import 'compiler_helper.dart';
-import 'parser_helper.dart' show buildSourceString;
const String TEST = """
returnInt1() {
@@ -140,7 +139,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));
}

Powered by Google App Engine
This is Rietveld 408576698