Skip to content

Commit cf38bd9

Browse files
committed
test: remove trailing spaces in test-runner-reporters.js
This commit removes trailing whitespace to fix a linting error identified by the `@stylistic/js/no-trailing-spaces` rule.
1 parent 1945a98 commit cf38bd9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

test/parallel/test-runner-reporters.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,8 @@ describe('node:test reporters', { concurrency: true }, () => {
196196
const file = tmpdir.resolve(`${tmpFiles++}.xml`);
197197
const child = spawnSync(process.execPath,
198198
['--test', '--test-reporter', 'junit', '--test-reporter-destination', file, testFile]);
199-
200199
assert.strictEqual(child.stderr.toString(), '');
201200
assert.strictEqual(child.stdout.toString(), '');
202-
203201
const fileContents = fs.readFileSync(file, 'utf8');
204202
assert.match(fileContents, /<testsuite .*name="nested".*tests="2".*failures="1".*skipped="0".*>/);
205203
assert.match(fileContents, /<testcase .*name="failing".*>\s*<failure .*type="testCodeFailure".*message="error".*>/);

0 commit comments

Comments
 (0)