You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Running:
F
Finished in 0.004238s, 235.9452 runs/s, 471.8904 assertions/s.
1) Failure:
OneOfTest#test_one_of_pattern_properties [test/test_one_of.rb:103]:
{"test_thing"=>{"foo"=>"no"}} should be invalid for schema:
{"$schema"=>"http://json-schema.org/draft-04/schema#", "oneOf"=>[{"patternProperties"=>{"^([a-z_0-9])+$"=>{:type=>"object", "properties"=>[{"foo"=>{"type"=>"string", "enum"=>["bar", "hello"]}}]}}}]}.
Expected [] to not be equal to [].
1 runs, 2 assertions, 1 failures, 0 errors, 0 skips
Is this a bug? or am I missing something with my schema?
The text was updated successfully, but these errors were encountered:
I would expect the following test to pass:
It fails with:
Is this a bug? or am I missing something with my schema?
The text was updated successfully, but these errors were encountered: