Index: tests/standalone/io/http_cookie_test.dart |
diff --git a/tests/standalone/io/http_cookie_test.dart b/tests/standalone/io/http_cookie_test.dart |
index edc0bfd89a17404594b3053cbc59285ba832311d..94c383bceca47071cc515de46605df4f3e1bdeae 100644 |
--- a/tests/standalone/io/http_cookie_test.dart |
+++ b/tests/standalone/io/http_cookie_test.dart |
@@ -51,9 +51,8 @@ void testCookies() { |
} |
}); |
}) |
- .catchError((e) { |
+ .catchError((e, trace) { |
String msg = "Unexpected error $e"; |
- var trace = getAttachedStackTrace(e); |
if (trace != null) msg += "\nStackTrace: $trace"; |
Expect.fail(msg); |
}); |