Index: test/runner/browser/phantom_js_test.dart |
diff --git a/test/runner/browser/phantom_js_test.dart b/test/runner/browser/phantom_js_test.dart |
index 1e915a396372c6e0f6698a79e98c3866eec558b2..95f211dc8ede1ed0f23c6012be46b6f4ace315f5 100644 |
--- a/test/runner/browser/phantom_js_test.dart |
+++ b/test/runner/browser/phantom_js_test.dart |
@@ -35,7 +35,7 @@ webSocket.addEventListener("open", function() { |
var webSocket = server.handleWebSocket(); |
schedule(() async { |
- expect(await (await webSocket).first, equals("loaded!")); |
+ expect(await (await webSocket).stream.first, equals("loaded!")); |
}); |
}); |