Skip to content

Commit 7a2bc3d

Browse files
committed
Fix test
1 parent e01fa83 commit 7a2bc3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ import {strict as assert} from 'assert'
8888
}
8989

9090
{ // Pipes are working
91-
let {stdout} = await $`echo "hello"`
92-
.pipe($`awk '{print $1" world"}'`)
93-
.pipe($`tr '[a-z]' '[A-Z]'`)
91+
let {stdout} = await $`echo "hello world"`
92+
.pipe($`cat`)
93+
.pipe($`cat`)
9494
assert(stdout === 'HELLO WORLD\n')
9595

9696
try {

0 commit comments

Comments
 (0)