Index: tests/compiler/dart2js/type_substitution_test.dart |
diff --git a/tests/compiler/dart2js/type_substitution_test.dart b/tests/compiler/dart2js/type_substitution_test.dart |
index 483e506ebad65fc4b9d572478b210d8a65759ede..15934bd118c33b248a83f6273ace8f4add9b66ee 100644 |
--- a/tests/compiler/dart2js/type_substitution_test.dart |
+++ b/tests/compiler/dart2js/type_substitution_test.dart |
@@ -14,7 +14,7 @@ import "type_test_helper.dart"; |
DartType getType(compiler, String name) { |
var clazz = findElement(compiler, "Class"); |
clazz.ensureResolved(compiler); |
- var element = clazz.buildScope().lookup(buildSourceString(name)); |
+ var element = clazz.buildScope().lookup(name); |
Expect.isNotNull(element); |
Expect.equals(element.kind, ElementKind.FUNCTION); |
FunctionSignature signature = element.computeSignature(compiler); |