| Index: tests/standalone/io/http_10_test.dart
|
| diff --git a/tests/standalone/io/http_10_test.dart b/tests/standalone/io/http_10_test.dart
|
| index 0663a138c84a8495040eb97ed4841e163d972d08..f25525e25335665505c9f98f8fa5a467f29b2a18 100644
|
| --- a/tests/standalone/io/http_10_test.dart
|
| +++ b/tests/standalone/io/http_10_test.dart
|
| @@ -29,7 +29,9 @@ void testHttp10NoKeepAlive() {
|
| response.write("Z");
|
| response.write("Z");
|
| response.close();
|
| - response.write("x");
|
| + Expect.throws(() {
|
| + response.write("x");
|
| + }, (e) => e is StateError);
|
| }, onError: (e, trace) {
|
| String msg = "Unexpected error $e";
|
| if (trace != null) msg += "\nStackTrace: $trace";
|
|
|