Index: tests/standalone/io/web_socket_protocol_processor_test.dart |
diff --git a/tests/standalone/io/web_socket_protocol_processor_test.dart b/tests/standalone/io/web_socket_protocol_processor_test.dart |
index 17f57f9945df73ee8214e3bd294c4c0e316d4974..ff5de75d199bfef54ca7405e5630673a6e2ca963 100644 |
--- a/tests/standalone/io/web_socket_protocol_processor_test.dart |
+++ b/tests/standalone/io/web_socket_protocol_processor_test.dart |
@@ -50,9 +50,8 @@ class WebSocketMessageCollector { |
data = buffer; |
} |
- void onError(e) { |
+ void onError(e, trace) { |
String msg = "Unexpected error $e"; |
- var trace = getAttachedStackTrace(e); |
if (trace != null) msg += "\nStackTrace: $trace"; |
Expect.fail(msg); |
} |