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

Unified Diff: lib/src/runner/browser/server.dart

Issue 1636933002: Fix --pub-serve's path separator on Windows. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/server.dart
diff --git a/lib/src/runner/browser/server.dart b/lib/src/runner/browser/server.dart
index 99e22a9952aabcaf7dcf1bf1f8f32d5a14a209c9..730262edf04658ecd8ea2afa47511e85076dc081 100644
--- a/lib/src/runner/browser/server.dart
+++ b/lib/src/runner/browser/server.dart
@@ -219,8 +219,8 @@ void main() {
var suiteUrl;
if (_config.pubServeUrl != null) {
- var suitePrefix = p.withoutExtension(
- p.relative(path, from: p.join(_root, 'test')));
+ var suitePrefix = p.toUri(p.withoutExtension(
+ p.relative(path, from: p.join(_root, 'test')))).path;
var dartUrl;
// Polymer generates a bootstrap entrypoint that wraps the entrypoint we
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698