diff --git a/cmd/vet/vet_test.go b/cmd/vet/vet_test.go index 33e54ae9..0027a1f3 100644 --- a/cmd/vet/vet_test.go +++ b/cmd/vet/vet_test.go @@ -87,7 +87,7 @@ func TestTags(t *testing.T) { "-v", // We're going to look at the files it examines. "testdata/tagtest", } - cmd = exec.Command(filepath.Join(".", binary), args...) + cmd = exec.Command("./"+binary, args...) output, err := cmd.CombinedOutput() if err != nil { t.Fatal(err)