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

Unified Diff: test/utils.dart

Issue 1826543003: Update deprecations. (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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/hmac_sha256_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/utils.dart
diff --git a/test/utils.dart b/test/utils.dart
index 82b9f8a5f4bcb1b23c0c17c2a036173ab71b7445..dee342a1d27cf64e87d4fd7e39f93777f29e561c 100644
--- a/test/utils.dart
+++ b/test/utils.dart
@@ -10,6 +10,6 @@ import 'package:test/test.dart';
/// Asserts that an HMAC using [hash] returns [mac] for [input] and [key].
void expectHmacEquals(Hash hash, List<int> input, List<int> key, String mac) {
- var hmac = new HMAC(hash, key);
+ var hmac = new Hmac(hash, key);
expect(hmac.convert(input).toString(), startsWith(mac));
}
« no previous file with comments | « test/hmac_sha256_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698