mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 20:47:45 +00:00
Added support for unevaluatedProperties as Schema and bool #118
Also ran `gofmt` across the entire project. Things need cleaning up. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -51,7 +51,7 @@ func TestNodeReference_Mutate(t *testing.T) {
|
||||
func TestNodeReference_RefNode(t *testing.T) {
|
||||
nr := new(NodeReference[string])
|
||||
nr.KeyNode = &yaml.Node{
|
||||
Content: []*yaml.Node{&yaml.Node{
|
||||
Content: []*yaml.Node{{
|
||||
Value: "$ref",
|
||||
}},
|
||||
}
|
||||
@@ -749,8 +749,3 @@ func TestKeyReference_GetKeyNode(t *testing.T) {
|
||||
assert.Equal(t, 3, nr.GetKeyNode().Line)
|
||||
assert.Equal(t, "pizza", nr.GetKeyNode().Value)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user