Skip to content

Commit

Permalink
move draft-specific files to the dedicated dir for its draft
Browse files Browse the repository at this point in the history
..otherwise, draft-specific test suites won't know to skip adding the file
  • Loading branch information
karenetheridge committed Oct 8, 2024
1 parent 8ef1550 commit 96bc1ec
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions remotes/draft7/locationIndependentIdentifier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"definitions": {
"refToInteger": {
"$ref": "#foo"
},
"A": {
"$id": "#foo",
"type": "integer"
}
}
}
2 changes: 1 addition & 1 deletion tests/draft4/refRemote.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
{
"description": "Location-independent identifier in remote ref",
"schema": {
"$ref": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/refToInteger"
"$ref": "http://localhost:1234/draft4/locationIndependentIdentifier.json#/definitions/refToInteger"
},
"tests": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/draft6/refRemote.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
{
"description": "Location-independent identifier in remote ref",
"schema": {
"$ref": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/refToInteger"
"$ref": "http://localhost:1234/draft6/locationIndependentIdentifier.json#/definitions/refToInteger"
},
"tests": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/draft7/refRemote.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
{
"description": "Location-independent identifier in remote ref",
"schema": {
"$ref": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/refToInteger"
"$ref": "http://localhost:1234/draft7/locationIndependentIdentifier.json#/definitions/refToInteger"
},
"tests": [
{
Expand Down

0 comments on commit 96bc1ec

Please sign in to comment.