Skip to content

Commit e6ed1df

Browse files
authored
fix(test): use getBinaryPath helper in help flag test
fix(test): use getBinaryPath helper in help flag test
2 parents bfe4935 + d4b2152 commit e6ed1df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/cli_help_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestHelpFlag(t *testing.T) {
4040
for _, tt := range tests {
4141
t.Run(tt.name, func(t *testing.T) {
4242
// Get path to gitcommit binary
43-
binaryPath := "../../build/gitcommit"
43+
binaryPath := getBinaryPath(t)
4444

4545
// Run with help flag
4646
cmd := exec.Command(binaryPath, tt.flags...)

0 commit comments

Comments
 (0)