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