diff --git a/tests/draft2020-12/maxLength.json b/tests/draft2020-12/maxLength.json index 7462726d..0cab636c 100644 --- a/tests/draft2020-12/maxLength.json +++ b/tests/draft2020-12/maxLength.json @@ -51,5 +51,25 @@ "valid": false } ] + }, + { + "description": "maxLength with combining character sequences", + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "maxLength": 1 + }, + "tests": [ + { + "description": "latin small letter e with combining acute accent", + "data": "e\u0301", + "valid": false + }, + { + "description": "single basic character", + "data": "a", + "valid": true + } + ] } + ]