Skip to content

Commit

Permalink
Fix ExpandMultiNormalizedTermsTest after merge (#2046)
Browse files Browse the repository at this point in the history
  • Loading branch information
apmoriarty authored Jul 28, 2023
1 parent 41f4881 commit da712b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit da712b5

Please sign in to comment.