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

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

Issue 46063010: Change dart:io Platform.script to return a Uri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased 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/bad_loop_test.dart
diff --git a/tests/compiler/dart2js/bad_loop_test.dart b/tests/compiler/dart2js/bad_loop_test.dart
index 8a86fd6c17383b331f94bf7d6c06e930ce29e820..ea1f03df41ebde1b9b2deaf7f877590cf19526c4 100644
--- a/tests/compiler/dart2js/bad_loop_test.dart
+++ b/tests/compiler/dart2js/bad_loop_test.dart
@@ -10,7 +10,7 @@ import '../../../sdk/lib/_internal/compiler/compiler.dart'
show Diagnostic;
main() {
- Uri script = currentDirectory.resolve(nativeToUriPath(Platform.script));
+ Uri script = currentDirectory.resolveUri(Platform.script);
Uri libraryRoot = script.resolve('../../../sdk/');
Uri packageRoot = script.resolve('./packages/');
« no previous file with comments | « tests/compiler/dart2js/async_compiler_input_provider_test.dart ('k') | tests/compiler/dart2js/codegen_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698