From f1ac0fcc21b2baa87361e29564b1c291f9b1f040 Mon Sep 17 00:00:00 2001 From: "Tab Atkins Jr." Date: Sun, 19 Jan 2025 09:58:22 -0800 Subject: [PATCH] Make test fail *only* for length limits Previously it failed due to specifying a codepoint past max *as well*, obscuring the intended fail condition. --- tests/test_cases/input/unicode_escaped_too_long_lead0_fail.kdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cases/input/unicode_escaped_too_long_lead0_fail.kdl b/tests/test_cases/input/unicode_escaped_too_long_lead0_fail.kdl index 7d66a9e..4ee3b99 100644 --- a/tests/test_cases/input/unicode_escaped_too_long_lead0_fail.kdl +++ b/tests/test_cases/input/unicode_escaped_too_long_lead0_fail.kdl @@ -1 +1 @@ -no "Even with leading 0s Unicode Scalar Value escapes must ≤6: \u{0123456}" +no "Even with leading 0s Unicode Scalar Value escapes must ≤6: \u{0012345}"