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

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

Issue 137003002: Fix bad space handling in Uris. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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/async_compiler_input_provider_test.dart
diff --git a/tests/compiler/dart2js/async_compiler_input_provider_test.dart b/tests/compiler/dart2js/async_compiler_input_provider_test.dart
index 6a4502218a26da5bc77ce59a6f9cc7aead954689..7f370c31267952914ee73a65612fd18f15d6a0df 100644
--- a/tests/compiler/dart2js/async_compiler_input_provider_test.dart
+++ b/tests/compiler/dart2js/async_compiler_input_provider_test.dart
@@ -31,7 +31,7 @@ Future<String> provideInput(Uri uri) {
var source = SOURCES[uri.path];
if (source == null) {
// Not one of our source files, so assume it's a built-in.
- source = new File(uriPathToNative(uri.path)).readAsStringSync();
+ source = new File(uri.toFilePath()).readAsStringSync();
}
// Deliver the input asynchronously.

Powered by Google App Engine
This is Rietveld 408576698