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)); |
} |