summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-response-readable.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-response-readable.js')
-rw-r--r--test/parallel/test-http-response-readable.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-http-response-readable.js b/test/parallel/test-http-response-readable.js
index 07c0a40e4b..a4906643d3 100644
--- a/test/parallel/test-http-response-readable.js
+++ b/test/parallel/test-http-response-readable.js
@@ -10,9 +10,10 @@ const testServer = new http.Server(function(req, res) {
testServer.listen(0, function() {
http.get({ port: this.address().port }, function(res) {
- assert.equal(res.readable, true, 'res.readable initially true');
+ assert.strictEqual(res.readable, true, 'res.readable initially true');
res.on('end', function() {
- assert.equal(res.readable, false, 'res.readable set to false after end');
+ assert.strictEqual(res.readable, false,
+ 'res.readable set to false after end');
testServer.close();
});
res.resume();