From c4395c64f683b77dd00c0cf24b25393009dd19c7 Mon Sep 17 00:00:00 2001 From: Vladislav Gruchik <4280527+vagruchi@users.noreply.github.com> Date: Thu, 31 Aug 2023 16:42:55 +0200 Subject: [PATCH] fix test code --- openapi-gen/openapi_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/openapi-gen/openapi_test.go b/openapi-gen/openapi_test.go index 024e054f..480129d4 100644 --- a/openapi-gen/openapi_test.go +++ b/openapi-gen/openapi_test.go @@ -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{