Skip to content

Commit

Permalink
tests: add missing assertion
Browse files Browse the repository at this point in the history
Addressing:
tests/smoke_test.go:43:21: ineffectual assignment to err (ineffassign)
	generatedFilePath, err := locateGeneratedFile(outputDir)
  • Loading branch information
isimluk committed Nov 27, 2021
1 parent 5f7a2fe commit ed24d4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/smoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func assertConvertsFine(t *testing.T, xsdPath string) []byte {
require.NoError(t, err)

generatedFilePath, err := locateGeneratedFile(outputDir)
require.NoError(t, err)
result, err := ioutil.ReadFile(generatedFilePath)
require.NoError(t, err)

Expand Down

0 comments on commit ed24d4b

Please # to comment.