Skip to content

Commit

Permalink
Forgot to add test for #35
Browse files Browse the repository at this point in the history
  • Loading branch information
noha committed Aug 4, 2020
1 parent 5193501 commit 22397dd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
tests
testReadNoTypeWithConstraints
| schema |
schema := JSONSchema fromString: '{"exclusiveMaximum":10}'.

self
should: [ schema validate: 11 ]
raise: JSONConstraintError.

0 comments on commit 22397dd

Please sign in to comment.