From 313d194c607bb1c87f4d11d12540e6fd4609f616 Mon Sep 17 00:00:00 2001 From: Mike Lischke Date: Wed, 1 Jan 2025 15:14:58 +0100 Subject: [PATCH] Fixed test for previous patch --- tests/TestToolSyntaxErrors.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/TestToolSyntaxErrors.spec.ts b/tests/TestToolSyntaxErrors.spec.ts index 992605e..ddbdef3 100644 --- a/tests/TestToolSyntaxErrors.spec.ts +++ b/tests/TestToolSyntaxErrors.spec.ts @@ -691,9 +691,7 @@ describe("TestToolSyntaxErrors", () => { "error(" + ErrorType.UNICODE_PROPERTY_NOT_ALLOWED_IN_RANGE.code + "): Test.g4:12:41: unicode property " + "escapes not allowed in lexer charset range: [A-\\p{Number}]\n" + "error(" + ErrorType.UNICODE_PROPERTY_NOT_ALLOWED_IN_RANGE.code + "): Test.g4:13:48: unicode property " + - "escapes not allowed in lexer charset range: [\\P{Uppercase_Letter}-\\P{Number}]\n" + - "error(" + ErrorType.INVALID_ESCAPE_SEQUENCE.code + "): Test.g4:14:16: invalid escape sequence " + - "\\p{Grapheme_Cluster_Break=E_Base}\n"; + "escapes not allowed in lexer charset range: [\\P{Uppercase_Letter}-\\P{Number}]\n"; const pair = [ grammar,