Skip to content

Commit

Permalink
Fixup missing Test prefix
Browse files Browse the repository at this point in the history
(cherry picked from commit 56c30a7)
(cherry picked from commit 393fdec)
  • Loading branch information
riccardomanfrin committed Apr 21, 2021
1 parent be8af26 commit 9aa5c5a
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 9aa5c5a

Please sign in to comment.