Skip to content

Commit

Permalink
tests: use strict equality
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Sep 8, 2018
1 parent d85d650 commit 8ac8115
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,10 @@ describe('errorHandler(options)', function () {
var server = createServer(error, {log: log})

function log (err, str, req, res) {
assert.equal(err, error)
assert.equal(str, error.stack.toString())
assert.equal(req.url, '/')
assert.equal(res.statusCode, 500)
assert.strictEqual(err, error)
assert.strictEqual(str, error.stack.toString())
assert.strictEqual(req.url, '/')
assert.strictEqual(res.statusCode, 500)
cb()
}

Expand Down

0 comments on commit 8ac8115

Please sign in to comment.