Index: test/test_pub.dart |
diff --git a/test/test_pub.dart b/test/test_pub.dart |
index 25b217b31091a7e4a6e641cfc61d5143e67c19c2..2c7af92411fa42e0a4b25171fb556c686c662b28 100644 |
--- a/test/test_pub.dart |
+++ b/test/test_pub.dart |
@@ -201,7 +201,7 @@ void serve([List<d.Descriptor> contents]) { |
schedule(() { |
return _closeServer().then((_) { |
return shelf_io.serve((request) { |
- var path = p.posix.fromUri(request.url.path.replaceFirst("/", "")); |
+ var path = p.posix.fromUri(request.url.path); |
_requestedPaths.add(path); |
return validateStream(baseDir.load(path)) |