From 69136952196a63a7553803935feaeaec57a48420 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Thu, 30 Nov 2023 22:37:35 +0000 Subject: [PATCH 1/3] Update minLength.json Updates the language for the test that verifies that one grapheme is too short when checked against minLength of 2 --- tests/draft2020-12/minLength.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/draft2020-12/minLength.json b/tests/draft2020-12/minLength.json index e0930b6f..5076c5a9 100644 --- a/tests/draft2020-12/minLength.json +++ b/tests/draft2020-12/minLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } From e0a9e066dbe056f898bc74fa9187d78ab5434f11 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 29 Dec 2023 10:18:57 -0500 Subject: [PATCH 2/3] Updates all other tests to mention grapheme/graphemes --- .idea/.gitignore | 3 +++ .idea/JSON-Schema-Test-Suite.iml | 9 +++++++++ .idea/encodings.xml | 4 ++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ tests/draft-next/maxLength.json | 2 +- tests/draft-next/minLength.json | 2 +- tests/draft2019-09/maxLength.json | 2 +- tests/draft2019-09/minLength.json | 2 +- tests/draft2020-12/maxLength.json | 2 +- tests/draft3/maxLength.json | 2 +- tests/draft3/minLength.json | 2 +- tests/draft4/maxLength.json | 2 +- tests/draft4/minLength.json | 2 +- tests/draft6/maxLength.json | 2 +- tests/draft6/minLength.json | 2 +- tests/draft7/maxLength.json | 2 +- tests/draft7/minLength.json | 2 +- 19 files changed, 49 insertions(+), 13 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/JSON-Schema-Test-Suite.iml create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 00000000..26d33521 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/JSON-Schema-Test-Suite.iml b/.idea/JSON-Schema-Test-Suite.iml new file mode 100644 index 00000000..d6ebd480 --- /dev/null +++ b/.idea/JSON-Schema-Test-Suite.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 00000000..15a15b21 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..639900d1 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..0c1e56d2 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/tests/draft-next/maxLength.json b/tests/draft-next/maxLength.json index e09e44ad..c88f604e 100644 --- a/tests/draft-next/maxLength.json +++ b/tests/draft-next/maxLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft-next/minLength.json b/tests/draft-next/minLength.json index 16022acb..52c9c9a1 100644 --- a/tests/draft-next/minLength.json +++ b/tests/draft-next/minLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } diff --git a/tests/draft2019-09/maxLength.json b/tests/draft2019-09/maxLength.json index f242c3ef..a0cc7d9b 100644 --- a/tests/draft2019-09/maxLength.json +++ b/tests/draft2019-09/maxLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft2019-09/minLength.json b/tests/draft2019-09/minLength.json index 19dec2ca..12782660 100644 --- a/tests/draft2019-09/minLength.json +++ b/tests/draft2019-09/minLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } diff --git a/tests/draft2020-12/maxLength.json b/tests/draft2020-12/maxLength.json index b6eb0340..7462726d 100644 --- a/tests/draft2020-12/maxLength.json +++ b/tests/draft2020-12/maxLength.json @@ -27,7 +27,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft3/maxLength.json b/tests/draft3/maxLength.json index 4de42bca..b0a9ea5b 100644 --- a/tests/draft3/maxLength.json +++ b/tests/draft3/maxLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft3/minLength.json b/tests/draft3/minLength.json index 3f09158d..6652c750 100644 --- a/tests/draft3/minLength.json +++ b/tests/draft3/minLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } diff --git a/tests/draft4/maxLength.json b/tests/draft4/maxLength.json index 811d35b2..33879594 100644 --- a/tests/draft4/maxLength.json +++ b/tests/draft4/maxLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft4/minLength.json b/tests/draft4/minLength.json index 3f09158d..6652c750 100644 --- a/tests/draft4/minLength.json +++ b/tests/draft4/minLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } diff --git a/tests/draft6/maxLength.json b/tests/draft6/maxLength.json index 748b4daa..be60c540 100644 --- a/tests/draft6/maxLength.json +++ b/tests/draft6/maxLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft6/minLength.json b/tests/draft6/minLength.json index 64db9480..23c68fe3 100644 --- a/tests/draft6/minLength.json +++ b/tests/draft6/minLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } diff --git a/tests/draft7/maxLength.json b/tests/draft7/maxLength.json index 748b4daa..be60c540 100644 --- a/tests/draft7/maxLength.json +++ b/tests/draft7/maxLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "two supplementary Unicode code points is long enough", + "description": "two graphemes is long enough", "data": "\uD83D\uDCA9\uD83D\uDCA9", "valid": true } diff --git a/tests/draft7/minLength.json b/tests/draft7/minLength.json index 64db9480..23c68fe3 100644 --- a/tests/draft7/minLength.json +++ b/tests/draft7/minLength.json @@ -24,7 +24,7 @@ "valid": true }, { - "description": "one supplementary Unicode code point is not long enough", + "description": "one grapheme is not long enough", "data": "\uD83D\uDCA9", "valid": false } From 418cdbd6c225763dd0547b6e309c1c1949f36871 Mon Sep 17 00:00:00 2001 From: Justin Black Date: Fri, 29 Dec 2023 10:19:58 -0500 Subject: [PATCH 3/3] Removes idea folder --- .idea/.gitignore | 3 --- .idea/JSON-Schema-Test-Suite.iml | 9 --------- .idea/encodings.xml | 4 ---- .idea/misc.xml | 6 ------ .idea/modules.xml | 8 -------- .idea/vcs.xml | 6 ------ 6 files changed, 36 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/JSON-Schema-Test-Suite.iml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d33521..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/JSON-Schema-Test-Suite.iml b/.idea/JSON-Schema-Test-Suite.iml deleted file mode 100644 index d6ebd480..00000000 --- a/.idea/JSON-Schema-Test-Suite.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index 15a15b21..00000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 639900d1..00000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 0c1e56d2..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file