@@ -27,7 +27,7 @@ function testCipher1(key) {
27
27
var txt = decipher . update ( ciph , 'hex' , 'utf8' ) ;
28
28
txt += decipher . final ( 'utf8' ) ;
29
29
30
- assert . equal ( txt , plaintext , 'encryption and decryption' ) ;
30
+ assert . strictEqual ( txt , plaintext , 'encryption and decryption' ) ;
31
31
32
32
// streaming cipher interface
33
33
// NB: In real life, it's not guaranteed that you can get all of it
@@ -41,7 +41,7 @@ function testCipher1(key) {
41
41
dStream . end ( ciph ) ;
42
42
txt = dStream . read ( ) . toString ( 'utf8' ) ;
43
43
44
- assert . equal ( txt , plaintext , 'encryption and decryption with streams' ) ;
44
+ assert . strictEqual ( txt , plaintext , 'encryption and decryption with streams' ) ;
45
45
}
46
46
47
47
@@ -63,7 +63,7 @@ function testCipher2(key) {
63
63
var txt = decipher . update ( ciph , 'base64' , 'utf8' ) ;
64
64
txt += decipher . final ( 'utf8' ) ;
65
65
66
- assert . equal ( txt , plaintext , 'encryption and decryption with Base64' ) ;
66
+ assert . strictEqual ( txt , plaintext , 'encryption and decryption with Base64' ) ;
67
67
}
68
68
69
69
testCipher1 ( 'MySecretKey123' ) ;
0 commit comments