File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,20 @@ var spkacPem = fs.readFileSync(common.fixturesDir + '/spkac.pem');
1919
2020var certificate = new crypto . Certificate ( ) ;
2121
22- assert . equal ( certificate . verifySpkac ( spkacValid ) , true ) ;
23- assert . equal ( certificate . verifySpkac ( spkacFail ) , false ) ;
22+ assert . strictEqual ( certificate . verifySpkac ( spkacValid ) , true ) ;
23+ assert . strictEqual ( certificate . verifySpkac ( spkacFail ) , false ) ;
2424
25- assert . equal (
25+ assert . strictEqual (
2626 stripLineEndings ( certificate . exportPublicKey ( spkacValid ) . toString ( 'utf8' ) ) ,
2727 stripLineEndings ( spkacPem . toString ( 'utf8' ) )
2828) ;
29- assert . equal ( certificate . exportPublicKey ( spkacFail ) , '' ) ;
29+ assert . strictEqual ( certificate . exportPublicKey ( spkacFail ) , '' ) ;
3030
31- assert . equal (
31+ assert . strictEqual (
3232 certificate . exportChallenge ( spkacValid ) . toString ( 'utf8' ) ,
3333 'fb9ab814-6677-42a4-a60c-f905d1a6924d'
3434) ;
35- assert . equal ( certificate . exportChallenge ( spkacFail ) , '' ) ;
35+ assert . strictEqual ( certificate . exportChallenge ( spkacFail ) , '' ) ;
3636
3737function stripLineEndings ( obj ) {
3838 return obj . replace ( / \n / g, '' ) ;
You can’t perform that action at this time.
0 commit comments