summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-response-status-message.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-response-status-message.js')
-rw-r--r--test/parallel/test-http-response-status-message.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-response-status-message.js b/test/parallel/test-http-response-status-message.js
index d17dfb24c6..95859634ac 100644
--- a/test/parallel/test-http-response-status-message.js
+++ b/test/parallel/test-http-response-status-message.js
@@ -47,7 +47,7 @@ const runTest = function(testCaseIndex) {
}, function(response) {
console.log('client: expected status message: ' + testCase.statusMessage);
console.log('client: actual status message: ' + response.statusMessage);
- assert.equal(testCase.statusMessage, response.statusMessage);
+ assert.strictEqual(testCase.statusMessage, response.statusMessage);
response.on('end', function() {
testsComplete++;
@@ -66,5 +66,5 @@ const runTest = function(testCaseIndex) {
server.listen(0, function() { runTest(0); });
process.on('exit', function() {
- assert.equal(testCases.length, testsComplete);
+ assert.strictEqual(testCases.length, testsComplete);
});