Skip to content

Commit 88bfeed

Browse files
author
Luca Bruno
authored
Merge pull request #282 from lucab/ups/local-test-fix
tests/activation: fix local test run
2 parents a4887ae + ea6cb50 commit 88bfeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activation/common_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func exampleCmd(binaryName string) (string, []string) {
2525
sourceCmdLine := []string{"go", "run", sourcePath}
2626
binaryPath := fmt.Sprintf("../test_bins/%s.example", binaryName)
2727
if _, err := os.Stat(binaryPath); err != nil && os.IsNotExist(err) {
28-
return sourceCmdLine[0], sourceCmdLine
28+
return sourceCmdLine[0], sourceCmdLine[1:]
2929
}
3030
return binaryPath, []string{binaryPath}
3131
}

0 commit comments

Comments
 (0)