Index: sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart |
index 4bc8307a2f6772dafdaccb36d2edee23f80ad817..04bfda5abea082070c19fb78f0f7089888028863 100644 |
--- a/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart |
+++ b/sdk/lib/_internal/pub/test/serve/web_socket/path_to_urls_with_line_test.dart |
@@ -23,15 +23,12 @@ main() { |
pubServe(); |
- schedule(() { |
- expectWebSocketCall({ |
- "command": "pathToUrls", |
- "path": p.join("web", "main.dart"), |
- "line": 12345 |
- }, replyEquals: { |
- "urls": [getServerUrl("web", "main.dart")], |
- "line": 12345 |
- }); |
+ expectWebSocketResult("pathToUrls", { |
+ "path": p.join("web", "main.dart"), |
+ "line": 12345 |
+ }, { |
+ "urls": [getServerUrl("web", "main.dart")], |
+ "line": 12345 |
}); |
endPubServe(); |