| Index: pkg/scheduled_test/lib/scheduled_server.dart
|
| diff --git a/pkg/scheduled_test/lib/scheduled_server.dart b/pkg/scheduled_test/lib/scheduled_server.dart
|
| index a7a68bb9dc44748b80915213666257a3cad718a1..e04817af771efc4ad2baa5719dfa776bb865d19c 100644
|
| --- a/pkg/scheduled_test/lib/scheduled_server.dart
|
| +++ b/pkg/scheduled_test/lib/scheduled_server.dart
|
| @@ -88,11 +88,11 @@ class ScheduledServer {
|
| Future<shelf.Response> _handleRequest(shelf.Request request) {
|
| return wrapFuture(syncFuture(() {
|
| if (_handlers.isEmpty) {
|
| - fail("'$description' received ${request.method} ${request.pathInfo} "
|
| + fail("'$description' received ${request.method} ${request.url.path} "
|
| "when no more requests were expected.");
|
| }
|
| return _handlers.removeFirst().fn(request);
|
| - }), 'receiving ${request.method} ${request.pathInfo}').catchError((error) {
|
| + }), 'receiving ${request.method} ${request.url.path}').catchError((error) {
|
| // Don't let errors bubble up to the shelf handler. It will print them to
|
| // stderr, but the user will already be notified via the scheduled_test
|
| // infrastructure.
|
|
|