| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 815715d commit 59f259c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,20 +19,20 @@ var spkacPem = fs.readFileSync(common.fixturesDir + '/spkac.pem'); | |||
| 19 | 19 | ||
| 20 | 20 | var certificate = new crypto.Certificate(); | |
| 21 | 21 | ||
| 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); | ||
| 24 | 24 | ||
| 25 | - assert.equal( | ||
| 25 | + assert.strictEqual( | ||
| 26 | 26 | stripLineEndings(certificate.exportPublicKey(spkacValid).toString('utf8')), | |
| 27 | 27 | stripLineEndings(spkacPem.toString('utf8')) | |
| 28 | 28 | ); | |
| 29 | - assert.equal(certificate.exportPublicKey(spkacFail), ''); | ||
| 29 | + assert.strictEqual(certificate.exportPublicKey(spkacFail), ''); | ||
| 30 | 30 | ||
| 31 | - assert.equal( | ||
| 31 | + assert.strictEqual( | ||
| 32 | 32 | certificate.exportChallenge(spkacValid).toString('utf8'), | |
| 33 | 33 | 'fb9ab814-6677-42a4-a60c-f905d1a6924d' | |
| 34 | 34 | ); | |
| 35 | - assert.equal(certificate.exportChallenge(spkacFail), ''); | ||
| 35 | + assert.strictEqual(certificate.exportChallenge(spkacFail), ''); | ||
| 36 | 36 | ||
| 37 | 37 | function stripLineEndings(obj) { | |
| 38 | 38 | return obj.replace(/\n/g, ''); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments