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

Unified Diff: lib/src/runner/loader.dart

Issue 1196483002: Fix a VM test loading bug. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/loader.dart
diff --git a/lib/src/runner/loader.dart b/lib/src/runner/loader.dart
index 9d3885d4731eb54245e4cfd5e48d09f2fba807a1..abd81a0c87a4dafbf8ead269a2e19187db00650b 100644
--- a/lib/src/runner/loader.dart
+++ b/lib/src/runner/loader.dart
@@ -182,8 +182,8 @@ class Loader {
var isolate;
try {
if (_pubServeUrl != null) {
- var url = _pubServeUrl.resolve(
- p.relative(path, from: 'test') + '.vm_test.dart');
+ var url = _pubServeUrl.resolveUri(
+ p.toUri(p.relative(path, from: 'test') + '.vm_test.dart'));
// TODO(nweiz): Remove new Future.sync() once issue 23498 has been fixed
// in two stable versions.
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698