Index: tests/compiler/dart2js/type_equals_test.dart |
diff --git a/tests/compiler/dart2js/type_equals_test.dart b/tests/compiler/dart2js/type_equals_test.dart |
index 4997583cf883e191e2f5436e76296a3c89bcbd04..2bb732e1c1a1f803001540269e3347b3bce0b9d0 100644 |
--- a/tests/compiler/dart2js/type_equals_test.dart |
+++ b/tests/compiler/dart2js/type_equals_test.dart |
@@ -12,8 +12,8 @@ bool test(compiler, String name1, String name2, {bool expect}) { |
Expect.isTrue((expect != null), 'required parameter "expect" not given'); |
var clazz = findElement(compiler, "Class"); |
clazz.ensureResolved(compiler); |
- var element1 = clazz.buildScope().lookup(buildSourceString(name1)); |
- var element2 = clazz.buildScope().lookup(buildSourceString(name2)); |
+ var element1 = clazz.buildScope().lookup(name1); |
+ var element2 = clazz.buildScope().lookup(name2); |
Expect.isNotNull(element1); |
Expect.isNotNull(element2); |
Expect.equals(element1.kind, ElementKind.FUNCTION); |