Skip to content

Commit 8bdc81a

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 b6304af commit 8bdc81a

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
@@ -1093,6 +1093,7 @@ def test_json_schema_test_suite
10931093
'draft7' => JSONSchemer::Schema::Draft7
10941094
}.each do |version, draft_class|
10951095
output = Dir["JSON-Schema-Test-Suite/tests/#{version}/**/*.json"].each_with_object({}) do |file, file_output|
1096+
next if file == 'JSON-Schema-Test-Suite/tests/draft7/optional/cross-draft.json'
10961097
file_output[file] = JSON.parse(File.read(file)).map do |defn|
10971098
defn.fetch('tests').map do |test|
10981099
errors = draft_class.new(

0 commit comments

Comments
 (0)