Skip to content

Commit 4aefb07

Browse files
galaxy4276claude
andcommitted
test: fix capitalized-comments lint in transform callback null test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8aef7e6 commit 4aefb07

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/parallel/test-stream-transform-callback-null.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { Transform } = require('stream');
99
// side. Refs: https://github.com/nodejs/node/issues/62769
1010

1111
{
12-
// callback(null, null) should end the readable side of the transform stream.
12+
// Calling callback(null, null) should end the readable side of the transform stream.
1313
const t = new Transform({
1414
transform(chunk, encoding, callback) {
1515
callback(null, null);
@@ -18,7 +18,7 @@ const { Transform } = require('stream');
1818

1919
t.on('end', common.mustCall());
2020
t.on('data', (chunk) => {
21-
// null sentinel should not appear as a data chunk
21+
// Null sentinel should not appear as a data chunk.
2222
assert.fail('unexpected data event');
2323
});
2424

0 commit comments

Comments
 (0)