summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-upgrade-agent.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-upgrade-agent.js')
-rw-r--r--test/parallel/test-http-upgrade-agent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-upgrade-agent.js b/test/parallel/test-http-upgrade-agent.js
index a196ba9049..e0e1c6d1f3 100644
--- a/test/parallel/test-http-upgrade-agent.js
+++ b/test/parallel/test-http-upgrade-agent.js
@@ -47,7 +47,7 @@ srv.listen(0, '127.0.0.1', common.mustCall(function() {
});
socket.on('close', common.mustCall(function() {
- assert.equal(recvData, 'nurtzo');
+ assert.strictEqual(recvData.toString(), 'nurtzo');
}));
console.log(res.headers);