44package bundler
55
66import (
7+ "testing"
8+
79 "github.com/pb33f/libopenapi"
810 "github.com/pb33f/libopenapi/index"
911 "github.com/stretchr/testify/assert"
10- "testing"
1112)
1213
1314func TestProcessRef_UnknownLocation (t * testing.T ) {
14-
1515 // create an empty doc
1616 doc , _ := libopenapi .NewDocument ([]byte ("openapi: 3.1.1" ))
1717 m , _ := doc .BuildV3Model ()
@@ -37,11 +37,9 @@ func TestProcessRef_UnknownLocation(t *testing.T) {
3737
3838 assert .NoError (t , err )
3939 assert .Len (t , config .inlineRequired , 1 )
40-
4140}
4241
4342func TestProcessRef_UnknownLocation_TwoStep (t * testing.T ) {
44-
4543 // create an empty doc
4644 doc , _ := libopenapi .NewDocument ([]byte ("openapi: 3.1.1" ))
4745 m , _ := doc .BuildV3Model ()
@@ -67,11 +65,9 @@ func TestProcessRef_UnknownLocation_TwoStep(t *testing.T) {
6765
6866 assert .NoError (t , err )
6967 assert .Len (t , config .inlineRequired , 1 )
70-
7168}
7269
7370func TestProcessRef_UnknownLocation_ThreeStep (t * testing.T ) {
74-
7571 // create an empty doc
7672 doc , _ := libopenapi .NewDocument ([]byte ("openapi: 3.1.1" ))
7773 m , _ := doc .BuildV3Model ()
@@ -98,5 +94,4 @@ func TestProcessRef_UnknownLocation_ThreeStep(t *testing.T) {
9894
9995 assert .NoError (t , err )
10096 assert .Len (t , config .inlineRequired , 1 )
101-
10297}
0 commit comments