mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-28 03:05:04 -06:00
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 <o.lemasle@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
},
|
||||
{
|
||||
"description": "only RFC3339 not all of ISO 8601 are valid",
|
||||
"data": "01:01:01,1111",
|
||||
"data": "14:30",
|
||||
"valid": false
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user