Index: tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
index 35a2994e3f1035e8f9d1b58b18a7083b4a9a401d..3244287bf8cc47bf962e289569b8e6b197ce38cb 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_unregister_call_test.dart |
@@ -37,7 +37,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)); |
} |