Fix error handling in process_test.go
This commit is contained in:
parent
063568828b
commit
2a867c0709
1 changed files with 4 additions and 1 deletions
|
|
@ -20,8 +20,11 @@ func TestProcessPipes(t *testing.T) {
|
|||
}
|
||||
|
||||
output, err := p.Exec()
|
||||
utils.Dump(output)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
utils.Dump(output)
|
||||
res := any.Of(output).Map().MapStrAny.Dot()
|
||||
assert.True(t, res.Has("global"))
|
||||
assert.True(t, res.Has("input"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue