From dfaa136dbd5ae04ac5cbf08ef4c1171b9a19d5c7 Mon Sep 17 00:00:00 2001 From: Suprith KG Date: Sun, 4 Aug 2024 11:12:52 +0530 Subject: [PATCH] Group the tests exclusive max and min --- .../to-draft6/exclusiveMaximum-boolean-false.json | 9 --------- ...veMaximum-boolean-true.json => exclusiveMaximum.json} | 7 +++++++ .../to-draft6/exclusiveMinimum-boolean-false.json | 9 --------- ...veMinimum-boolean-true.json => exclusiveMinimum.json} | 7 +++++++ 4 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 test/from-draft4/to-draft6/exclusiveMaximum-boolean-false.json rename test/from-draft4/to-draft6/{exclusiveMaximum-boolean-true.json => exclusiveMaximum.json} (62%) delete mode 100644 test/from-draft4/to-draft6/exclusiveMinimum-boolean-false.json rename test/from-draft4/to-draft6/{exclusiveMinimum-boolean-true.json => exclusiveMinimum.json} (62%) diff --git a/test/from-draft4/to-draft6/exclusiveMaximum-boolean-false.json b/test/from-draft4/to-draft6/exclusiveMaximum-boolean-false.json deleted file mode 100644 index b2f03ed..0000000 --- a/test/from-draft4/to-draft6/exclusiveMaximum-boolean-false.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "title": "exclusiveMaximum present in the schema and value equals false", - "from": { - "exclusiveMaximum": false - }, - "to": {} - } -] diff --git a/test/from-draft4/to-draft6/exclusiveMaximum-boolean-true.json b/test/from-draft4/to-draft6/exclusiveMaximum.json similarity index 62% rename from test/from-draft4/to-draft6/exclusiveMaximum-boolean-true.json rename to test/from-draft4/to-draft6/exclusiveMaximum.json index 023e1b1..06b69ba 100644 --- a/test/from-draft4/to-draft6/exclusiveMaximum-boolean-true.json +++ b/test/from-draft4/to-draft6/exclusiveMaximum.json @@ -9,5 +9,12 @@ "exclusiveMaximum": 3, "maximum": 3 } + }, + { + "title": "exclusiveMaximum present in the schema and value equals false", + "from": { + "exclusiveMaximum": false + }, + "to": {} } ] diff --git a/test/from-draft4/to-draft6/exclusiveMinimum-boolean-false.json b/test/from-draft4/to-draft6/exclusiveMinimum-boolean-false.json deleted file mode 100644 index 1aede9b..0000000 --- a/test/from-draft4/to-draft6/exclusiveMinimum-boolean-false.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "title": "exclusiveMinimum present in the schema and value equals false", - "from": { - "exclusiveMinimum": false - }, - "to": {} - } -] diff --git a/test/from-draft4/to-draft6/exclusiveMinimum-boolean-true.json b/test/from-draft4/to-draft6/exclusiveMinimum.json similarity index 62% rename from test/from-draft4/to-draft6/exclusiveMinimum-boolean-true.json rename to test/from-draft4/to-draft6/exclusiveMinimum.json index f6ae2c8..959d4de 100644 --- a/test/from-draft4/to-draft6/exclusiveMinimum-boolean-true.json +++ b/test/from-draft4/to-draft6/exclusiveMinimum.json @@ -9,5 +9,12 @@ "exclusiveMinimum": 3, "minimum": 3 } + }, + { + "title": "exclusiveMinimum present in the schema and value equals false", + "from": { + "exclusiveMinimum": false + }, + "to": {} } ]