Skip to content

Commit

Permalink
test: I think "echo foobar | cat" is better here
Browse files Browse the repository at this point in the history
  • Loading branch information
dsh2dsh committed May 8, 2024
1 parent 468b5fa commit 7c424a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zfs/zfscmd/zfscmd_platform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ func TestCmd_Pipe(t *testing.T) {
},
{
name: "pipe on the left side",
cmd: CommandContext(ctx, "echo", "foobar"),
pipeCmds: [][]string{{"true"}},
cmd: CommandContext(ctx, "cat"),
pipeCmds: [][]string{{"echo", "foobar"}},
pipeLeft: true,
wantCmdStr: "true | echo foobar",
wantCmdStr: "echo foobar | cat",
},
{
name: "cmd error",
Expand Down

0 comments on commit 7c424a2

Please sign in to comment.