| Index: sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
 | 
| diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
 | 
| index 876142f0de4a0e3407241ce2ca28e6534fad2709..a3de26affa8fb1b21fe32cf613b26e547aad7f27 100644
 | 
| --- a/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
 | 
| +++ b/sdk/lib/_internal/pub/test/serve/web_socket/serve_directory_test.dart
 | 
| @@ -26,11 +26,9 @@ main() {
 | 
|      pubServe(args: ["web"]);
 | 
|  
 | 
|      // Bind the new directory.
 | 
| -    expectWebSocketCall({
 | 
| -      "command": "serveDirectory",
 | 
| -      "path": "test"
 | 
| -    }, replyMatches: {"url": matches(r"http://127\.0\.0\.1:\d+")})
 | 
| -        .then((response) {
 | 
| +    expectWebSocketResult("serveDirectory", {"path": "test"}, {
 | 
| +      "url": matches(r"http://127\.0\.0\.1:\d+")
 | 
| +    }).then((response) {
 | 
|        var url = Uri.parse(response["url"]);
 | 
|        registerServerPort("test", url.port);
 | 
|      });
 | 
| 
 |