Skip to content

Commit

Permalink
fix: template_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pehesi97 committed Oct 13, 2023
1 parent a3021b4 commit bd4432f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cli/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package cli
import (
"bytes"
"fmt"
"github.com/nearform/initium-cli/src/services/project"
"github.com/urfave/cli/v2"
"gotest.tools/v3/assert"
"os"
"path"
"testing"

"github.com/nearform/initium-cli/src/services/project"
"github.com/urfave/cli/v2"
"gotest.tools/v3/assert"
)

const root = "../../"
Expand Down Expand Up @@ -65,6 +66,7 @@ func TestShouldRenderDockerTemplate(t *testing.T) {
Name: string(projectType),
Directory: path.Join(root, props["directory"]),
Resources: os.DirFS(root),
Language: "auto",
},
Writer: &buffer,
}
Expand Down

0 comments on commit bd4432f

Please sign in to comment.