Skip to content

Commit

Permalink
Update pkg/limayaml/limayaml_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
  • Loading branch information
afbjorklund and alexandear authored Jul 17, 2024
1 parent 1a101d2 commit c135e4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/limayaml/limayaml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"gotest.tools/v3/assert"
)

func dumpJSON(d interface{}) string {
func dumpJSON(t *testing.T, d interface{}) string {
b, err := json.Marshal(d)
if err != nil {
return "ERROR"
t.Fatal(err)
}
return string(b)
}
Expand Down

0 comments on commit c135e4e

Please sign in to comment.