Skip to content

Commit

Permalink
fix: manifest generation integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonGamez committed Jan 20, 2022
1 parent 7992176 commit c2cd778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integration/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"os"
"os/exec"
"path/filepath"
"strings"
"testing"

"github.com/GoogleContainerTools/skaffold/integration/skaffold"
Expand Down Expand Up @@ -166,7 +167,7 @@ func checkGeneratedConfig(t *testutil.T, dir string) {

func checkGeneratedManifests(t *testutil.T, dir string, manifestPaths []string) {
for _, path := range manifestPaths {
expectedOutput, err := ioutil.ReadFile(filepath.Join(dir, path+".expected"))
expectedOutput, err := ioutil.ReadFile(filepath.Join(dir, strings.Join([]string{".", path, ".expected"}, "")))
t.CheckNoError(err)

output, err := ioutil.ReadFile(filepath.Join(dir, path))
Expand Down

0 comments on commit c2cd778

Please sign in to comment.