Index: tests/compiler/dart2js/resolution_test.dart |
diff --git a/tests/compiler/dart2js/resolution_test.dart b/tests/compiler/dart2js/resolution_test.dart |
index ac978580b016b1418d9e5fa1f6bc92443bd9b8bd..4f47d019bf8d4838d280e95f2f4e974b5a486927 100644 |
--- a/tests/compiler/dart2js/resolution_test.dart |
+++ b/tests/compiler/dart2js/resolution_test.dart |
@@ -102,14 +102,14 @@ void test(String code, void check(Compiler compiler)) { |
void testHasRuntimeType(String code) { |
test(code, (compiler) { |
- var element = compiler.findHelper(buildSourceString('createRuntimeType')); |
+ var element = compiler.findHelper('createRuntimeType'); |
Expect.isTrue(compiler.enqueuer.resolution.isProcessed(element)); |
}); |
} |
main() { |
test(NO_RUNTIME_TYPE, (compiler) { |
- var element = compiler.findHelper(buildSourceString('createRuntimeType')); |
+ var element = compiler.findHelper('createRuntimeType'); |
Expect.isFalse(compiler.enqueuer.resolution.isProcessed(element)); |
}); |