Index: test/hmac_sha1_test.dart |
diff --git a/test/hmac_sha1_test.dart b/test/hmac_sha1_test.dart |
index 13ff34a514f2859e7d173a4fcb1b59d10b5b3d4f..4a378c750394934b6f0e2736c72e40c4b37f059d 100644 |
--- a/test/hmac_sha1_test.dart |
+++ b/test/hmac_sha1_test.dart |
@@ -6,7 +6,7 @@ |
library hmac_sha1_test; |
import "package:crypto/crypto.dart"; |
-import "package:unittest/unittest.dart"; |
+import "package:test/test.dart"; |
part 'hmac_sha1_test_vectors.dart'; |
@@ -22,6 +22,6 @@ void _testStandardVectors(inputs, keys, macs) { |
var hmac = new HMAC(new SHA1(), keys[i]); |
hmac.add(inputs[i]); |
var d = hmac.close(); |
- expect(CryptoUtils.bytesToHex(d).startsWith(macs[i]), isTrue); |
+ expect(CryptoUtils.bytesToHex(d), startsWith(macs[i])); |
} |
} |