Skip to content

Conversation

ssilverman
Copy link
Member

@ssilverman ssilverman commented Aug 22, 2020

The spec doesn't mandate that regexes have to be correct. In fact, the regex being valid is only a "SHOULD". See https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.7.3.8

The tests should test behaviour, not regex parsing.

@ssilverman ssilverman requested review from Julian and a team August 22, 2020 17:36
@ssilverman ssilverman force-pushed the remove-invalid-regex-test branch from adb007e to 724554a Compare August 22, 2020 17:39
@Julian
Copy link
Member

Julian commented Aug 22, 2020

lgtm

@ssilverman ssilverman merged commit 8a12994 into json-schema-org:master Aug 22, 2020
@ssilverman ssilverman deleted the remove-invalid-regex-test branch August 22, 2020 19:19
Copy link
Member

@ChALkeR ChALkeR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-merge LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants