mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 04:20:14 +00:00
fix: Update tests where appropriate
This commit is contained in:
committed by
Dave Shanley
parent
1f2709fef3
commit
5f9541283a
@@ -6,13 +6,14 @@ package low
|
||||
import (
|
||||
"crypto/sha256"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/pb33f/libopenapi/index"
|
||||
"github.com/pb33f/libopenapi/resolver"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"gopkg.in/yaml.v3"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestFindItemInMap(t *testing.T) {
|
||||
@@ -218,7 +219,6 @@ func TestExtractObject_DoubleRef(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestExtractObject_DoubleRef_Circular(t *testing.T) {
|
||||
|
||||
yml := `components:
|
||||
schemas:
|
||||
loopy:
|
||||
@@ -249,7 +249,6 @@ func TestExtractObject_DoubleRef_Circular(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestExtractObject_DoubleRef_Circular_Fail(t *testing.T) {
|
||||
|
||||
yml := `components:
|
||||
schemas:
|
||||
loopy:
|
||||
|
||||
Reference in New Issue
Block a user