From 123ba6b84196eebb21f99e99366fcc5330f4e03e Mon Sep 17 00:00:00 2001 From: Olivier Lemasle Date: Mon, 28 Jun 2021 21:59:43 +0200 Subject: [PATCH] internal/gojsonschema: fix test failing with Go 1.17 rc (#3591) Replace the time "01:01:01,1111" by "14:30", which is a ISO 8601 valid time, but not a RFC3339 "full time", and is rejected as such by the TimeFormatChecker. Fixes #3589 Signed-off-by: Olivier Lemasle --- internal/gojsonschema/testdata/draft7/optional/format/time.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gojsonschema/testdata/draft7/optional/format/time.json b/internal/gojsonschema/testdata/draft7/optional/format/time.json index 4ec8a01a3e..21f74703d4 100644 --- a/internal/gojsonschema/testdata/draft7/optional/format/time.json +++ b/internal/gojsonschema/testdata/draft7/optional/format/time.json @@ -15,7 +15,7 @@ }, { "description": "only RFC3339 not all of ISO 8601 are valid", - "data": "01:01:01,1111", + "data": "14:30", "valid": false } ]