Skip to content

Commit

Permalink
Fixup missing Test prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardomanfrin committed Apr 21, 2021
1 parent a6bc0e1 commit 56c30a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openapi3filter/validate_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"encoding/json"
"fmt"
"net/http"
"testing"

"github.com/getkin/kin-openapi/openapi3"
"github.com/getkin/kin-openapi/openapi3filter"
Expand Down Expand Up @@ -63,7 +64,7 @@ components:
type: integer
`

func Example() {
func TestExample(t *testing.T) {
loader := openapi3.NewSwaggerLoader()
doc, err := loader.LoadSwaggerFromData([]byte(spec))
if err != nil {
Expand Down

0 comments on commit 56c30a7

Please sign in to comment.