Skip to content

Commit bb9a39b

Browse files
committed
fixup! test: add some validation for JSON doc output
1 parent 4cbf078 commit bb9a39b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/parallel/test-doc-api-json.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ for await (const dirent of await fs.opendir(new URL('../../out/doc/api/', import
129129
// A proxy to check if the file is human readable is to count if it contains
130130
// at least 3 line return.
131131
assert.strictEqual(fileContent.split('\n', 3).length, 3);
132-
assert.ok(fileContent.endsWith('\n'), 'EOL at EOF');
133132

134133
const json = JSON.parse(fileContent);
135134

0 commit comments

Comments
 (0)