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 @@ -23,7 +23,7 @@ const modSize = 1024;
23
23
let s1stream = crypto . createSign ( 'SHA1' ) ;
24
24
s1stream . end ( 'Test123' ) ;
25
25
s1stream = s1stream . sign ( keyPem , 'base64' ) ;
26
- assert . strictEqual ( s1 , s1stream , 'Stream produces same output' ) ;
26
+ assert . strictEqual ( s1 , s1stream , ` ${ s1 } should equal ${ s1stream } ` ) ;
27
27
28
28
const verified = crypto . createVerify ( 'SHA1' )
29
29
. update ( 'Test' )
@@ -39,7 +39,7 @@ const modSize = 1024;
39
39
let s2stream = crypto . createSign ( 'SHA256' ) ;
40
40
s2stream . end ( 'Test123' ) ;
41
41
s2stream = s2stream . sign ( keyPem , 'latin1' ) ;
42
- assert . strictEqual ( s2 , s2stream , 'Stream produces same output' ) ;
42
+ assert . strictEqual ( s2 , s2stream , ` ${ s2 } should equal ${ s2stream } ` ) ;
43
43
44
44
let verified = crypto . createVerify ( 'SHA256' )
45
45
. update ( 'Test' )
You can’t perform that action at this time.
0 commit comments