Index: tests/standalone/io/raw_secure_socket_pause_test.dart |
diff --git a/tests/standalone/io/raw_secure_socket_pause_test.dart b/tests/standalone/io/raw_secure_socket_pause_test.dart |
index dcd8129ae03fc5c5d57714586aadca287522acec..8b995bd4ed6d9fcd3a595646d70b8071f03f97e4 100644 |
--- a/tests/standalone/io/raw_secure_socket_pause_test.dart |
+++ b/tests/standalone/io/raw_secure_socket_pause_test.dart |
@@ -100,9 +100,8 @@ void main() { |
default: throw "Unexpected event $event"; |
} |
}, |
- onError: (e) { |
+ onError: (e, trace) { |
String msg = "onError handler of RawSecureSocket stream hit: $e"; |
- var trace = getAttachedStackTrace(e); |
if (trace != null) msg += "\nStackTrace: $trace"; |
Expect.fail(msg); |
}); |