Skip to content

Commit

Permalink
test: correct test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
younggglcy committed Dec 16, 2023
1 parent 40c2023 commit edb75a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ test('input option can be a String', async t => {
});

test('input option can be a Buffer', async t => {
const {stdout} = await execa('stdin.js', {input: 'testing12'});
const {stdout} = await execa('stdin.js', {input: Buffer.from('testing12')});
t.is(stdout, 'testing12');
});

Expand Down

0 comments on commit edb75a0

Please sign in to comment.