We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fd19f commit 78a3201Copy full SHA for 78a3201
test/parallel/test-file-write-stream.js
@@ -44,7 +44,7 @@ file
44
.on('open', function(fd) {
45
console.error('open!');
46
callbacks.open++;
47
- assert.strictEqual('number', typeof fd);
+ assert.strictEqual(typeof fd, 'number');
48
})
49
.on('error', function(err) {
50
throw err;
@@ -86,7 +86,7 @@ for (let i = 0; i < 11; i++) {
86
87
process.on('exit', function() {
88
for (const k in callbacks) {
89
- assert.strictEqual(0, callbacks[k], `${k} count off by ${callbacks[k]}`);
+ assert.strictEqual(callbacks[k], 0, `${k} count off by ${callbacks[k]}`);
90
}
91
console.log('ok');
92
});
0 commit comments