Index: test/shelf_io_test.dart |
diff --git a/test/shelf_io_test.dart b/test/shelf_io_test.dart |
index 1a0ad785281864cce965efbf0704a7edac4cfe99..586a9615858b7b59c79d9876830404f759d8d85f 100644 |
--- a/test/shelf_io_test.dart |
+++ b/test/shelf_io_test.dart |
@@ -85,11 +85,11 @@ void main() { |
var expectedUrl = 'http://localhost:$_serverPort$path'; |
expect(request.requestedUri, Uri.parse(expectedUrl)); |
- expect(request.url.path, '/foo/bar'); |
+ expect(request.url.path, 'foo/bar'); |
expect(request.url.pathSegments, ['foo', 'bar']); |
expect(request.protocolVersion, '1.1'); |
expect(request.url.query, 'qs=value'); |
- expect(request.scriptName, ''); |
+ expect(request.handlerPath, '/'); |
return syncHandler(request); |
}); |