From da712b5e70b8a250d31aaa494562219c813d2114 Mon Sep 17 00:00:00 2001 From: Moriarty <22225248+apmoriarty@users.noreply.github.com> Date: Fri, 28 Jul 2023 07:40:58 -0400 Subject: [PATCH] Fix ExpandMultiNormalizedTermsTest after merge (#2046) --- .../query/jexl/visitors/ExpandMultiNormalizedTermsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandMultiNormalizedTermsTest.java b/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandMultiNormalizedTermsTest.java index a635b646916..f23eb1fdfb7 100644 --- a/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandMultiNormalizedTermsTest.java +++ b/warehouse/query-core/src/test/java/datawave/query/jexl/visitors/ExpandMultiNormalizedTermsTest.java @@ -594,7 +594,7 @@ public void testLenientWithAllFailedNormalization() throws ParseException { // this tests for the successful normalization as a simple number can be normalized as a regex String original = "((" + LenientExpression.label() + " = true) && (FOO == 'ab32'))"; - String expected = "((_Drop_ = true) && ((_Reason_ = 'Normalizations failed and not strict') && (_Query_ = 'FOO == \\'ab32\\'')))"; + String expected = "(_Drop_ = true) && ((_Reason_ = 'Normalizations failed and not strict') && (_Query_ = 'FOO == \\'ab32\\''))"; expandTerms(original, expected); } @@ -628,7 +628,7 @@ public void testStrictWithAllFailedNormalization() throws ParseException { // this tests for the successful normalization as a simple number can be normalized as a regex String original = "((" + StrictExpression.label() + " = true) && (FOO == 'ab32'))"; - String expected = "((_Eval_ = true) && (FOO == 'ab32'))"; + String expected = "(_Eval_ = true) && (FOO == 'ab32')"; expandTerms(original, expected); }