Skip to content

Commit

Permalink
fixup! lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Feb 4, 2023
1 parent cf874a8 commit b718aa0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-strace-openat-openssl.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ if (spawnSync('strace').error !== undefined) {

assert(allowedOpenCalls.delete(file), `${file} is not in the list of allowed openat calls`);
});
const debugOutput = []
const debugOutput = [];
strace.stderr.setEncoding('utf8');
strace.stderr.on('data', (chunk) => {
debugOutput.push(chunk.toString())
})
debugOutput.push(chunk.toString());
});
strace.on('error', common.mustNotCall());
strace.on('exit', common.mustCall((code) => {
assert.strictEqual(code, 0, debugOutput);
Expand Down

0 comments on commit b718aa0

Please sign in to comment.