| Index: test/utils.dart
|
| diff --git a/test/utils.dart b/test/utils.dart
|
| index d65f0ebd21fb66a6c65c4671fa2250d2758c50a0..82b9f8a5f4bcb1b23c0c17c2a036173ab71b7445 100644
|
| --- a/test/utils.dart
|
| +++ b/test/utils.dart
|
| @@ -11,6 +11,5 @@ 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);
|
| - hmac.add(input);
|
| - expect(CryptoUtils.bytesToHex(hmac.close()), startsWith(mac));
|
| + expect(hmac.convert(input).toString(), startsWith(mac));
|
| }
|
|
|