We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46fa90 commit 1588fbaCopy full SHA for 1588fba
test/parallel/test-http-chunked.js
@@ -48,7 +48,7 @@ server.listen(0, common.mustCall(() => {
48
x.setEncoding('utf8');
49
x.on('data', (c) => data += c);
50
x.on('end', common.mustCall(() => {
51
- assert.strictEqual('string', typeof data);
+ assert.strictEqual(typeof data, 'string');
52
assert.strictEqual(UTF8_STRING, data);
53
server.close();
54
}));
0 commit comments