diff --git a/source/JSONSchema-Core-Tests.package/JSONTypeTests.class/instance/testReadNoTypeWithConstraints.st b/source/JSONSchema-Core-Tests.package/JSONTypeTests.class/instance/testReadNoTypeWithConstraints.st new file mode 100644 index 0000000..44e0783 --- /dev/null +++ b/source/JSONSchema-Core-Tests.package/JSONTypeTests.class/instance/testReadNoTypeWithConstraints.st @@ -0,0 +1,8 @@ +tests +testReadNoTypeWithConstraints + | schema | + schema := JSONSchema fromString: '{"exclusiveMaximum":10}'. + + self + should: [ schema validate: 11 ] + raise: JSONConstraintError. \ No newline at end of file