Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Unified Diff: tests/compiler/dart2js/resolution_test.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
});

Powered by Google App Engine
This is Rietveld 408576698