diff options
Diffstat (limited to 'src/flag')
| -rw-r--r-- | src/flag/flag_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flag/flag_test.go b/src/flag/flag_test.go index 14a5038917..278ae7e4e0 100644 --- a/src/flag/flag_test.go +++ b/src/flag/flag_test.go @@ -701,7 +701,7 @@ func TestExitCode(t *testing.T) { } for _, test := range tests { - cmd := exec.Command(os.Args[0], "-test.run=^TestExitCode$") + cmd := exec.Command(testenv.Executable(t), "-test.run=^TestExitCode$") cmd.Env = append( os.Environ(), "GO_CHILD_FLAG="+test.flag, |
