@@ -22,7 +22,7 @@ function testCipher1(key, iv) {
2222 var txt = decipher . update ( ciph , 'hex' , 'utf8' ) ;
2323 txt += decipher . final ( 'utf8' ) ;
2424
25- assert . equal ( txt , plaintext , 'encryption and decryption with key and iv' ) ;
25+ assert . strictEqual ( txt , plaintext , 'encryption/ decryption with key and iv' ) ;
2626
2727 // streaming cipher interface
2828 // NB: In real life, it's not guaranteed that you can get all of it
@@ -36,7 +36,7 @@ function testCipher1(key, iv) {
3636 dStream . end ( ciph ) ;
3737 txt = dStream . read ( ) . toString ( 'utf8' ) ;
3838
39- assert . equal ( txt , plaintext , 'streaming cipher iv' ) ;
39+ assert . strictEqual ( txt , plaintext , 'streaming cipher iv' ) ;
4040}
4141
4242
@@ -54,7 +54,7 @@ function testCipher2(key, iv) {
5454 var txt = decipher . update ( ciph , 'buffer' , 'utf8' ) ;
5555 txt += decipher . final ( 'utf8' ) ;
5656
57- assert . equal ( txt , plaintext , 'encryption and decryption with key and iv' ) ;
57+ assert . strictEqual ( txt , plaintext , 'encryption/ decryption with key and iv' ) ;
5858}
5959
6060testCipher1 ( '0123456789abcd0123456789' , '12345678' ) ;
0 commit comments