diff --git a/go.mod b/go.mod index b7543ba..2f55738 100644 --- a/go.mod +++ b/go.mod @@ -5,9 +5,12 @@ go 1.22.0 toolchain go1.22.2 require ( + github.com/stoewer/go-strcase v1.3.0 github.com/stretchr/testify v1.9.0 github.com/tdewolff/canvas v0.0.0-20240404204646-eb921826d23b gitlab.com/Achilleshiel/gosplines v0.0.0-20240601225309-88d1e67b1066 + gitlab.com/slxh/go/env v1.0.0 + golang.org/x/image v0.15.0 gopkg.in/Knetic/govaluate.v3 v3.0.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -23,13 +26,10 @@ require ( github.com/go-text/typesetting v0.0.0-20231013144250-6cc35dbfae7d // indirect github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stoewer/go-strcase v1.3.0 // indirect github.com/tdewolff/font v0.0.0-20240404204409-be214eafe484 // indirect github.com/tdewolff/minify/v2 v2.20.5 // indirect github.com/tdewolff/parse/v2 v2.7.3 // indirect github.com/wcharczuk/go-chart/v2 v2.1.1 // indirect - gitlab.com/slxh/go/env v1.0.0 // indirect - golang.org/x/image v0.15.0 // indirect golang.org/x/net v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect gonum.org/v1/gonum v0.15.0 // indirect diff --git a/pkg/pattern/template/template_test.go b/pkg/pattern/template/template_test.go deleted file mode 100644 index f601518..0000000 --- a/pkg/pattern/template/template_test.go +++ /dev/null @@ -1,14 +0,0 @@ -package template_test - -import ( - "testing" - - "git.wtrh.nl/patterns/gopatterns/pkg/pattern/template" - "github.com/stretchr/testify/require" -) - -func TestRenderPattern(t *testing.T) { - t.Parallel() - - require.NoError(t, template.RenderPattern("fixtures/trouser.yaml")) -}