From f8f33f78a8d451b060a98b83f0e4a66a7554c489 Mon Sep 17 00:00:00 2001 From: Alvaro Cabrera <pateketrueke@gmail.com> Date: Thu, 21 May 2015 01:34:33 -0500 Subject: [PATCH] Remove validation; jsf is not responsible for --- lib/util/random.js | Bin 1542 -> 1198 bytes spec/core/types/integers.json | 40 ---------------------------------- 2 files changed, 40 deletions(-) diff --git a/lib/util/random.js b/lib/util/random.js index cf9542ddbd29329b59691de190bc6d0518604160..9ad7d12102e0100a824092ccef351f876db0570d 100644 GIT binary patch delta 43 wcmZqUS;x77jcIZaQ;t+(g@TPjZf2gQLN%9yf`USBVugaXEl6bZ6J{kQ01Y<`MgRZ+ delta 364 zcmZ3-*~YVhjfo{QO+jO_J(IMinwmmxW}bqbLP~0yZ(@a}LN%9yf&!GMplu71wdPV# zsGZEjR8XIpr=VzStDv2mnFmu@l2Mdju8@~nt`L-%m!9fcRFq$&p<b4lQ<|!vuAr^p z73}Y)S6ot*nU|iKR;dBjsjZ-{kXfvdmtUfrsGC=so0M9lt_ik<i%UTP<hI<z3aCv8 zH<e`6)5<CvkT>!BC^N4tQ6ncaMWG1fO@*Y?lJeBlJS(stK_RHEpsoYqBvxo{?qO15 F0svKHYYhMZ diff --git a/spec/core/types/integers.json b/spec/core/types/integers.json index 740f528e..4a079423 100644 --- a/spec/core/types/integers.json +++ b/spec/core/types/integers.json @@ -61,46 +61,6 @@ "hasNot": ".", "type": "number", "valid": true - }, - { - "description": "should validate numeric minimum", - "schema": { - "type": "object", - "properties": { - "test": { - "type": "integer", - "minimum": [] - } - } - }, - "throws": "value .+? is not-a-number in \\/properties\\/test" - }, - { - "description": "should validate numeric maximum", - "schema": { - "type": "object", - "properties": { - "test": { - "type": "integer", - "maximum": [] - } - } - }, - "throws": "value .+? is not-a-number in \\/properties\\/test" - }, - { - "description": "should validate between ranges", - "schema": { - "type": "object", - "properties": { - "test": { - "type": "integer", - "minimum": 100, - "maximum": 50 - } - } - }, - "throws": "invalid range between: 100, 50 in \\/properties\\/test" } ] } -- GitLab