Skip to content

Commit

Permalink
bum xplat
Browse files Browse the repository at this point in the history
test tweaks
  • Loading branch information
patrickhuber committed Aug 4, 2023
1 parent be4bd38 commit 0b1b046
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/onsi/ginkgo/v2 v2.9.2
github.com/onsi/gomega v1.27.4
github.com/patrickhuber/go-di v0.5.2
github.com/patrickhuber/go-xplat v0.3.0
github.com/patrickhuber/go-xplat v0.3.1
github.com/urfave/cli/v2 v2.23.4
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ github.com/patrickhuber/go-xplat v0.2.16 h1:Km8ErsoTq3lbC5Gm65JxYW/sl290jul1+4fL
github.com/patrickhuber/go-xplat v0.2.16/go.mod h1:ZveaAmQiWcZO0nWACUrbylAF+BbGwEXdVqM3ZoEOxA4=
github.com/patrickhuber/go-xplat v0.3.0 h1:Q7lFw5HqkljVX4+V4QdyI9T4MfoDcx0ZVF+qhKP4fpM=
github.com/patrickhuber/go-xplat v0.3.0/go.mod h1:ZveaAmQiWcZO0nWACUrbylAF+BbGwEXdVqM3ZoEOxA4=
github.com/patrickhuber/go-xplat v0.3.1 h1:HnBHQxeM8foci0c//2bMVhnhVlSPdcxYIzVL827tnhw=
github.com/patrickhuber/go-xplat v0.3.1/go.mod h1:ZveaAmQiWcZO0nWACUrbylAF+BbGwEXdVqM3ZoEOxA4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k=
Expand Down
6 changes: 3 additions & 3 deletions internal/cast/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ files:
- name: test
content: {{ templatefile "./test.txt" . }}`,
[]file{
{"/output/test", "value", true},
{"/output/test", "value", false},
},
&cast.Request{
Template: "/template",
Expand All @@ -164,7 +164,7 @@ files:
content: |
{{- templatefile "./test.txt" . | nindent 4 }}`,
[]file{
{"/output/test", "value\nvalue", true},
{"/output/test", "value\nvalue", false},
},
&cast.Request{
Template: "/template",
Expand All @@ -182,7 +182,7 @@ files:
- name: test.yml
content: {{ .variable }}`,
[]file{
{"/output/test.yml", "test", true},
{"/output/test.yml", "test", false},
},
&cast.Request{
Template: "/template",
Expand Down

0 comments on commit 0b1b046

Please sign in to comment.