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

Unified Diff: test/hmac_sha256_test.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_sha1_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/hmac_sha256_test.dart
diff --git a/test/hmac_sha256_test.dart b/test/hmac_sha256_test.dart
index 904a7f06df4fb45bf31565798e83a866a23b78d2..65fa4198eabac2366cbdfeda5d1ba12ba0d7110d 100644
--- a/test/hmac_sha256_test.dart
+++ b/test/hmac_sha256_test.dart
@@ -12,7 +12,7 @@ void main() {
group("standard vector", () {
for (var i = 0; i < _inputs.length; i++) {
test(_macs[i], () {
- expectHmacEquals(new SHA256(), _inputs[i], _keys[i], _macs[i]);
+ expectHmacEquals(sha256, _inputs[i], _keys[i], _macs[i]);
});
}
});
« no previous file with comments | « test/hmac_sha1_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698