From 8eada2a1a82ca85e53bdf8c2f5b7ac00d2653edf Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 25 Feb 2014 00:09:49 +0100 Subject: [PATCH] fix aes unit test --- test/crypto/cipher/aes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/crypto/cipher/aes.js b/test/crypto/cipher/aes.js index 2befa313..9acc36ea 100644 --- a/test/crypto/cipher/aes.js +++ b/test/crypto/cipher/aes.js @@ -88,7 +88,7 @@ describe('AES Rijndael cipher test with test vectors from ecb_tbl.txt', function var res = test_aes(testvectors256[i][1],testvectors256[i][0],testvectors256[i][2]); expect(res, 'block ' + util.hexidump(testvectors256[i][1]) + ' and key ' + util.hexidump(testvectors256[i][0]) + - ' should be ' + util.hexidump(testvectors256[i][2])); + ' should be ' + util.hexidump(testvectors256[i][2])).to.be.true; } done(); });