@@ -27,7 +27,7 @@ function testCipher1(key) {
2727 var txt = decipher . update ( ciph , 'hex' , 'utf8' ) ;
2828 txt += decipher . final ( 'utf8' ) ;
2929
30- assert . equal ( txt , plaintext , 'encryption and decryption' ) ;
30+ assert . strictEqual ( txt , plaintext , 'encryption and decryption' ) ;
3131
3232 // streaming cipher interface
3333 // NB: In real life, it's not guaranteed that you can get all of it
@@ -41,7 +41,7 @@ function testCipher1(key) {
4141 dStream . end ( ciph ) ;
4242 txt = dStream . read ( ) . toString ( 'utf8' ) ;
4343
44- assert . equal ( txt , plaintext , 'encryption and decryption with streams' ) ;
44+ assert . strictEqual ( txt , plaintext , 'encryption and decryption with streams' ) ;
4545}
4646
4747
@@ -63,7 +63,7 @@ function testCipher2(key) {
6363 var txt = decipher . update ( ciph , 'base64' , 'utf8' ) ;
6464 txt += decipher . final ( 'utf8' ) ;
6565
66- assert . equal ( txt , plaintext , 'encryption and decryption with Base64' ) ;
66+ assert . strictEqual ( txt , plaintext , 'encryption and decryption with Base64' ) ;
6767}
6868
6969testCipher1 ( 'MySecretKey123' ) ;
0 commit comments