| Index: tests/lib/crypto/sha1_test.dart
|
| diff --git a/tests/lib/crypto/sha1_test.dart b/tests/lib/crypto/sha1_test.dart
|
| index 24a7271762b39c8a70c15b51f6b480a426c9cfb2..7ce49c32976fe01e04963ab57364eededca3ce44 100644
|
| --- a/tests/lib/crypto/sha1_test.dart
|
| +++ b/tests/lib/crypto/sha1_test.dart
|
| @@ -545,7 +545,7 @@ void test() {
|
| void testInvalidUse() {
|
| var sha = new SHA1();
|
| sha.close();
|
| - Expect.throws(() => sha.add([0]), (e) => e is HashException);
|
| + Expect.throws(() => sha.add([0]), (e) => e is StateError);
|
| }
|
|
|
| void testRepeatedDigest() {
|
|
|