Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed May 22, 2021
1 parent e01fa83 commit 7a2bc3d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ import {strict as assert} from 'assert'
}

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

try {
Expand Down

0 comments on commit 7a2bc3d

Please sign in to comment.