From d61bae8faaf8c3046cf9094b041cf7d2c39d812e Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Wed, 27 May 2020 18:53:48 -0700 Subject: [PATCH] remove wrapped refs as done in #343 --- tests/draft2019-09/anchor.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/draft2019-09/anchor.json b/tests/draft2019-09/anchor.json index 06b0ba4d..42dde7e4 100644 --- a/tests/draft2019-09/anchor.json +++ b/tests/draft2019-09/anchor.json @@ -2,9 +2,7 @@ { "description": "Location-independent identifier", "schema": { - "allOf": [{ - "$ref": "#foo" - }], + "$ref": "#foo", "$defs": { "A": { "$anchor": "foo", @@ -28,9 +26,7 @@ { "description": "Location-independent identifier with absolute URI", "schema": { - "allOf": [{ - "$ref": "http://localhost:1234/bar#foo" - }], + "$ref": "http://localhost:1234/bar#foo", "$defs": { "A": { "$id": "http://localhost:1234/bar", @@ -56,9 +52,7 @@ "description": "Location-independent identifier with base URI change in subschema", "schema": { "$id": "http://localhost:1234/root", - "allOf": [{ - "$ref": "http://localhost:1234/nested.json#foo" - }], + "$ref": "http://localhost:1234/nested.json#foo", "$defs": { "A": { "$id": "nested.json",