@@ -22,7 +22,7 @@ function testCipher1(key, iv) {
22
22
var txt = decipher . update ( ciph , 'hex' , 'utf8' ) ;
23
23
txt += decipher . final ( 'utf8' ) ;
24
24
25
- assert . equal ( txt , plaintext , 'encryption and decryption with key and iv' ) ;
25
+ assert . strictEqual ( txt , plaintext , 'encryption/ decryption with key and iv' ) ;
26
26
27
27
// streaming cipher interface
28
28
// NB: In real life, it's not guaranteed that you can get all of it
@@ -36,7 +36,7 @@ function testCipher1(key, iv) {
36
36
dStream . end ( ciph ) ;
37
37
txt = dStream . read ( ) . toString ( 'utf8' ) ;
38
38
39
- assert . equal ( txt , plaintext , 'streaming cipher iv' ) ;
39
+ assert . strictEqual ( txt , plaintext , 'streaming cipher iv' ) ;
40
40
}
41
41
42
42
@@ -54,7 +54,7 @@ function testCipher2(key, iv) {
54
54
var txt = decipher . update ( ciph , 'buffer' , 'utf8' ) ;
55
55
txt += decipher . final ( 'utf8' ) ;
56
56
57
- assert . equal ( txt , plaintext , 'encryption and decryption with key and iv' ) ;
57
+ assert . strictEqual ( txt , plaintext , 'encryption/ decryption with key and iv' ) ;
58
58
}
59
59
60
60
testCipher1 ( '0123456789abcd0123456789' , '12345678' ) ;
0 commit comments