diff options
author | Daniel Pittman <daniel@pittmo.net> | 2016-12-01 11:05:31 -0600 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-12-03 20:26:06 -0800 |
commit | 99a3b638593f2c97f57be5703aa64c862926ef22 (patch) | |
tree | 0c95fcfcf66b6e08f7c0976b2563205be9b9021a /test/parallel/test-crypto-ecb.js | |
parent | 8a959107c0da7fe61ba0c54edc931a4a96144526 (diff) | |
download | android-node-v8-99a3b638593f2c97f57be5703aa64c862926ef22.tar.gz android-node-v8-99a3b638593f2c97f57be5703aa64c862926ef22.tar.bz2 android-node-v8-99a3b638593f2c97f57be5703aa64c862926ef22.zip |
test: use assert.strictEqual in test-crypto-ecb
Updated test-crypto-ecb.js to change assert.equal
to assert.strictEqual.
PR-URL: https://github.com/nodejs/node/pull/9980
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/parallel/test-crypto-ecb.js')
-rw-r--r-- | test/parallel/test-crypto-ecb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-crypto-ecb.js b/test/parallel/test-crypto-ecb.js index dbdb486e9b..d423a386b3 100644 --- a/test/parallel/test-crypto-ecb.js +++ b/test/parallel/test-crypto-ecb.js @@ -21,7 +21,7 @@ crypto.DEFAULT_ENCODING = 'buffer'; var encrypt = crypto.createCipheriv('BF-ECB', 'SomeRandomBlahz0c5GZVnR', ''); var hex = encrypt.update('Hello World!', 'ascii', 'hex'); hex += encrypt.final('hex'); - assert.equal(hex.toUpperCase(), '6D385F424AAB0CFBF0BB86E07FFB7D71'); + assert.strictEqual(hex.toUpperCase(), '6D385F424AAB0CFBF0BB86E07FFB7D71'); }()); (function() { @@ -29,5 +29,5 @@ crypto.DEFAULT_ENCODING = 'buffer'; ''); var msg = decrypt.update('6D385F424AAB0CFBF0BB86E07FFB7D71', 'hex', 'ascii'); msg += decrypt.final('ascii'); - assert.equal(msg, 'Hello World!'); + assert.strictEqual(msg, 'Hello World!'); }()); |