| Index: sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart
|
| index 7d80601aecfd6f9f81b61566a502175b206e953a..ccb8980278f0844c118aab58c950720c45957dae 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/web_socket/unserve_directory_not_served_test.dart
|
| @@ -21,13 +21,9 @@ main() {
|
| pubServe();
|
|
|
| // Unbind the directory.
|
| - expectWebSocketCall({
|
| - "command": "unserveDirectory",
|
| - "path": "test"
|
| - }, replyEquals: {
|
| - "code": "NOT_SERVED",
|
| - "error": 'Directory "test" is not bound to a server.'
|
| - });
|
| + expectWebSocketCall("unserveDirectory", {"path": "test"},
|
| + errorCode: 1,
|
| + errorMessage: 'Directory "test" is not bound to a server.');
|
|
|
| endPubServe();
|
| });
|
|
|