| Index: tests/standalone/io/test_extension_tester.dart
|
| diff --git a/tests/standalone/io/test_extension_tester.dart b/tests/standalone/io/test_extension_tester.dart
|
| index 707771795f217aba8ffab1b0626e003addadd392..2c349836a078522592dd7b557b4fce66c43e2f0f 100644
|
| --- a/tests/standalone/io/test_extension_tester.dart
|
| +++ b/tests/standalone/io/test_extension_tester.dart
|
| @@ -10,14 +10,14 @@ class Expect {
|
| static void equals(expected, actual, [msg]) {
|
| if (expected != actual) {
|
| if (msg == null) msg = "Expected: $expected. Actual: $actual";
|
| - throw new RuntimeError(msg);
|
| + throw new StateError(msg);
|
| }
|
| }
|
|
|
| static void isNull(x, [msg]) {
|
| if (x != null) {
|
| if (msg != null) msg = "$x not null";
|
| - throw new RuntimeError(msg);
|
| + throw new StateError(msg);
|
| }
|
| }
|
| }
|
|
|