Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Unified Diff: test/sha256_test.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 1819293003: Remove deprecated APIs. (Closed) Base URL: git@github.com:dart-lang/crypto.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « test/sha1_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/sha256_test.dart
diff --git a/test/sha256_test.dart b/test/sha256_test.dart
index c2b6d3e130efe692aee1c9bb678db9ea9e23c253..75fb9e30f855d9f6e61a29760aa0644daa7bf5ec 100644
--- a/test/sha256_test.dart
+++ b/test/sha256_test.dart
@@ -10,22 +10,6 @@ import "package:crypto/crypto.dart";
import "utils.dart";
void main() {
- group("with the old API", () {
- test('add may not be called after close', () {
- var sha = new SHA256();
- sha.close();
- expect(() => sha.add([0]), throwsStateError);
- });
-
- test('close returns the same digest repeatedly', () {
- var sha = new SHA256();
- 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 = sha256.startChunkedConversion(new StreamController().sink);
« no previous file with comments | « test/sha1_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698