From e955d434e477a01d8e16b01f60165693a13cdc8e Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Wed, 4 Jan 2017 11:25:12 -0800 Subject: [PATCH] fix tests Signed-off-by: Jess Frazelle --- dep_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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