| Index: test/sha1_test.dart
|
| diff --git a/test/sha1_test.dart b/test/sha1_test.dart
|
| index e3471c32eb118e2bd28d2644efae23602f0af7ac..552b86252f8fe0b6d379fac26139e7cb69d7429c 100644
|
| --- a/test/sha1_test.dart
|
| +++ b/test/sha1_test.dart
|
| @@ -8,22 +8,6 @@ import "package:crypto/crypto.dart";
|
| import "package:test/test.dart";
|
|
|
| void main() {
|
| - group("with the old API", () {
|
| - test('add may not be called after close', () {
|
| - var sha = new SHA1();
|
| - sha.close();
|
| - expect(() => sha.add([0]), throwsStateError);
|
| - });
|
| -
|
| - test('close returns the same digest repeatedly', () {
|
| - var sha = new SHA1();
|
| - var digest = sha.close();
|
| - expect(sha.close(), equals(digest));
|
| - expect(sha.close(), equals(digest));
|
| - expect(sha.close(), equals(digest));
|
| - });
|
| - });
|
| -
|
| group("with a chunked converter", () {
|
| test('add may not be called after close', () {
|
| var sink = sha1.startChunkedConversion(new StreamController().sink);
|
|
|