diff --git a/dep_test.go b/dep_test.go index d68750e0..d3b5bf73 100644 --- a/dep_test.go +++ b/dep_test.go @@ -171,7 +171,7 @@ func (tg *testgoData) doRun(args []string) error { } else { prog = filepath.Join(tg.wd, "testdep"+exeSuffix) } - cmd := exec.Command(prog, append([]string{"-v"}, args...)...) + cmd := exec.Command(prog, append(args, "-v")...) tg.stdout.Reset() tg.stderr.Reset() cmd.Stdout = &tg.stdout