File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change <
9422
tbody>@@ -21,13 +21,13 @@ crypto.DEFAULT_ENCODING = 'buffer';
2121 var encrypt = crypto . createCipheriv ( 'BF-ECB' , 'SomeRandomBlahz0c5GZVnR' , '' ) ;
2222 var hex = encrypt . update ( 'Hello World!' , 'ascii' , 'hex' ) ;
2323 hex += encrypt . final ( 'hex' ) ;
24- assert . equal ( hex . toUpperCase ( ) , '6D385F424AAB0CFBF0BB86E07FFB7D71' ) ;
24+ assert . strictEqual ( hex . toUpperCase ( ) , '6D385F424AAB0CFBF0BB86E07FFB7D71' ) ;
2525} ( ) ) ;
2626
2727( function ( ) {
2828 var decrypt = crypto . createDecipheriv ( 'BF-ECB' , 'SomeRandomBlahz0c5GZVnR' ,
2929 '' ) ;
3030 var msg = decrypt . update ( '6D385F424AAB0CFBF0BB86E07FFB7D71' , 'hex' , 'ascii' ) ;
3131 msg += decrypt . final ( 'ascii' ) ;
32- assert . equal ( msg , 'Hello World!' ) ;
32+ assert . strictEqual ( msg , 'Hello World!' ) ;
3333} ( ) ) ;
You can’t perform that action at this time.
0 commit comments