Skip to content

Commit 520b5a6

Browse files
committed
Skip cross-draft test
This test references draft2019-09, which isn't supported. Introduced here: json-schema-org/JSON-Schema-Test-Suite#587
1 parent 575a2f4 commit 520b5a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/json_schemer_test.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,7 @@ def test_json_schema_test_suite
10911091
'draft7' => JSONSchemer::Schema::Draft7
10921092
}.each do |version, draft_class|
10931093
output = Dir["JSON-Schema-Test-Suite/tests/#{version}/**/*.json"].each_with_object({}) do |file, file_output|
1094+
next if file == 'JSON-Schema-Test-Suite/tests/draft7/optional/cross-draft.json'
10941095
file_output[file] = JSON.parse(File.read(file)).map do |defn|
10951096
defn.fetch('tests').map do |test|
10961097
errors = draft_class.new(

0 commit comments

Comments
 (0)