Skip to content

Commit

Permalink
tests: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Mar 12, 2020
1 parent 80a171f commit ace8cde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/bins/dkron-executor-shell/shell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ func Test_buildCmd(t *testing.T) {
// test not shell command
cmd, err = buildCmd("date && echo 'success'", false, []string{}, "")
assert.NoError(t, err)
out, err = cmd.CombinedOutput()
assert.Error(t, err)
assert.Len(t, cmd.Args, 1)
}

func Test_buildCmdWithCustomEnvironmentVariables(t *testing.T) {
Expand Down

0 comments on commit ace8cde

Please sign in to comment.