Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-burt committed Sep 5, 2024
1 parent 03728b2 commit 59944c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/internal/ds/helm3/helm3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ func TestRunTemplate(t *testing.T) {
fileContent, err := ioutil.ReadFile(filePath)
t.Log(string(b))
templatedStr := string(templated)

Check failure on line 169 in vm/internal/ds/helm3/helm3_test.go

View workflow job for this annotation

GitHub Actions / Build(Windows)

cannot convert templated (type interface {}) to type string: need type assertion
templatedUnixStr := strings.ReplaceAll(templatedStr, "\r\n", "\n")
templatedUnixStr := strings.ReplaceAll(templatedStr, "\r\n", "\n")

Check failure on line 170 in vm/internal/ds/helm3/helm3_test.go

View workflow job for this annotation

GitHub Actions / Build(Windows)

undefined: strings
fileContentStr := string(fileContent)
fileContentUnixStr := strings.ReplaceAll(fileContentUnixStr, "\r\n", "\n")
fileContentUnixStr := strings.ReplaceAll(fileContentUnixStr, "\r\n", "\n")

Check failure on line 172 in vm/internal/ds/helm3/helm3_test.go

View workflow job for this annotation

GitHub Actions / Build(Windows)

undefined: strings

Check failure on line 172 in vm/internal/ds/helm3/helm3_test.go

View workflow job for this annotation

GitHub Actions / Build(Windows)

undefined: fileContentUnixStr
require.NoError(t, err)
require.Equal(t, templatedUnixStr, fileContentUnixStr)
}
Expand Down

0 comments on commit 59944c1

Please sign in to comment.