From bfd944cbf432b7a8eae13fd0a1bee2eb5766542e Mon Sep 17 00:00:00 2001 From: FourteenBrush Date: Thu, 13 Jun 2024 20:41:17 +0200 Subject: [PATCH] Rename test for #1 --- .../mathexpressionparser/ExpressionParserTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/me/fourteendoggo/mathexpressionparser/ExpressionParserTest.java b/core/src/test/java/me/fourteendoggo/mathexpressionparser/ExpressionParserTest.java index d36a355..23d5243 100644 --- a/core/src/test/java/me/fourteendoggo/mathexpressionparser/ExpressionParserTest.java +++ b/core/src/test/java/me/fourteendoggo/mathexpressionparser/ExpressionParserTest.java @@ -46,7 +46,7 @@ void testThrowingExpressions() { } @Test // was an issue in #1 - void reproduce() { + void maintainNodeSubtreeWhenPromotingCommonParent() { ExecutionEnv env = ExecutionEnv.empty(); env.insertVariable("xy", 1); env.insertVariable("x", 2); @@ -73,7 +73,7 @@ void testIdentifierValidChars() { assertThatThrownBy(() -> ExpressionParser.parse("a_00__1____", env)).isInstanceOf(SyntaxException.class); String[] identifiers = { - "aa", "lA", "z_", "z9" , + "aa", "lA", "z_", "z9", "u0pz","zAA", "zZ_", "_E01", "__z", "_UXs", "___Az0", "_01_9z", "i", "z", "_", "e0", "t", "__", "_0"