We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4887ae commit ea6cb50Copy full SHA for ea6cb50
activation/common_test.go
@@ -25,7 +25,7 @@ func exampleCmd(binaryName string) (string, []string) {
25
sourceCmdLine := []string{"go", "run", sourcePath}
26
binaryPath := fmt.Sprintf("../test_bins/%s.example", binaryName)
27
if _, err := os.Stat(binaryPath); err != nil && os.IsNotExist(err) {
28
- return sourceCmdLine[0], sourceCmdLine
+ return sourceCmdLine[0], sourceCmdLine[1:]
29
}
30
return binaryPath, []string{binaryPath}
31
0 commit comments