Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit ac5e896

Browse files
committed
Fix e2e binary test search path
Signed-off-by: Christopher Crone <[email protected]>
1 parent 03226a0 commit ac5e896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/binary_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func findBinary() string {
4242
"./docker-app-" + runtime.GOOS + binExt(),
4343
"./docker-app" + binExt(),
4444
"../_build/docker-app-" + runtime.GOOS + binExt(),
45-
"../_build/docker_app" + binExt(),
45+
"../_build/docker-app" + binExt(),
4646
}
4747
for _, binName := range binNames {
4848
if _, err := os.Stat(binName); err == nil {
@@ -122,7 +122,7 @@ func TestInitBinary(t *testing.T) {
122122
cmd := exec.Command(dockerApp, args...)
123123
output, err := cmd.CombinedOutput()
124124
if err != nil {
125-
fmt.Println(string(output))
125+
fmt.Println(output)
126126
}
127127
assert.NilError(t, err)
128128
meta, err := ioutil.ReadFile(filepath.Join(dirName, "metadata.yml"))

0 commit comments

Comments
 (0)