Skip to content

Commit

Permalink
fix test code
Browse files Browse the repository at this point in the history
  • Loading branch information
vagruchi authored and guerinoni committed Sep 1, 2023
1 parent f6c3aaf commit c4395c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions openapi-gen/openapi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ func TestGenerate(t *testing.T) {
t.Fatal(err)
}

tmpl, err := loader.LoadTemplate(TypeTemplate)
if err != nil {
t.Fatal(err)
}
tmpl := loader.LoadTemplate(TypeTemplate)

context := TypeContext{
Schema: &openapi3.Schema{
Expand Down

0 comments on commit c4395c6

Please sign in to comment.