From ea68a4ffd70797b7dcd3e8480b18ce8043a57345 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Thu, 16 Jun 2022 15:35:27 -0400 Subject: [PATCH] Move the future keywords tests to optional. An e.g. draft 7 validator is free to optionally add support for draft 2019-09 keywords, at least ones which do not modify the behavior of draft 7 keywords, so these are in fact optional to pass, albeit helpful to prevent leaking if one doesn't intend to add support for them. (See the discussion in https://github.com/json-schema-org/JSON-Schema-Test-Suite/pull/376#issuecomment-642862673). --- tests/draft2019-09/{ => optional}/future-keywords.json | 0 tests/draft4/{ => optional}/future-keywords.json | 0 tests/draft6/{ => optional}/future-keywords.json | 0 tests/draft7/{ => optional}/future-keywords.json | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename tests/draft2019-09/{ => optional}/future-keywords.json (100%) rename tests/draft4/{ => optional}/future-keywords.json (100%) rename tests/draft6/{ => optional}/future-keywords.json (100%) rename tests/draft7/{ => optional}/future-keywords.json (100%) diff --git a/tests/draft2019-09/future-keywords.json b/tests/draft2019-09/optional/future-keywords.json similarity index 100% rename from tests/draft2019-09/future-keywords.json rename to tests/draft2019-09/optional/future-keywords.json diff --git a/tests/draft4/future-keywords.json b/tests/draft4/optional/future-keywords.json similarity index 100% rename from tests/draft4/future-keywords.json rename to tests/draft4/optional/future-keywords.json diff --git a/tests/draft6/future-keywords.json b/tests/draft6/optional/future-keywords.json similarity index 100% rename from tests/draft6/future-keywords.json rename to tests/draft6/optional/future-keywords.json diff --git a/tests/draft7/future-keywords.json b/tests/draft7/optional/future-keywords.json similarity index 100% rename from tests/draft7/future-keywords.json rename to tests/draft7/optional/future-keywords.json