| Index: tests/lib/crypto/sha256_test.dart
|
| diff --git a/tests/lib/crypto/sha256_test.dart b/tests/lib/crypto/sha256_test.dart
|
| index 528c8319682eb5732a13ea1eedbb81403a5e9695..01bb4b8e7ad1f7eb24273bca16dc91e26165a11e 100644
|
| --- a/tests/lib/crypto/sha256_test.dart
|
| +++ b/tests/lib/crypto/sha256_test.dart
|
| @@ -289,7 +289,7 @@ void test() {
|
| void testInvalidUse() {
|
| var sha = new SHA256();
|
| sha.close();
|
| - Expect.throws(() => sha.add([0]), (e) => e is HashException);
|
| + Expect.throws(() => sha.add([0]), (e) => e is StateError);
|
| }
|
|
|
| void testRepeatedDigest() {
|
|
|