diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-01-06 11:35:01 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-01-06 11:35:01 +0100 |
commit | 1366eb01c678345c2879ea092ab8737d0f087a89 (patch) | |
tree | 0f2d0040c1c2506068cf5ae6d2af658c630d3e1b /container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java | |
parent | c6972162154fa3e580e4a3311739f22a609f534e (diff) |
Default positive in NotItem to TRUE instead of null
Diffstat (limited to 'container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java')
-rw-r--r-- | container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java b/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java index 7acecdcf00b..fbdd72fe6ac 100644 --- a/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java +++ b/container-search/src/test/java/com/yahoo/prelude/semantics/test/NoStemmingTestCase.java @@ -17,13 +17,13 @@ public class NoStemmingTestCase extends RuleBaseAbstractTestCase { /** Should rewrite correctly */ @Test public void testCorrectRewriting1() { - assertSemantics("+(AND i:arts i:sciences) -i:b","i:as -i:b"); + assertSemantics("+(AND i:arts i:sciences TRUE) -i:b","i:as -i:b"); } /** Should rewrite correctly too */ @Test public void testCorrectRewriting2() { - assertSemantics("+(AND i:arts i:sciences i:crafts) -i:b","i:asc -i:b"); + assertSemantics("+(AND i:arts i:sciences i:crafts TRUE) -i:b","i:asc -i:b"); } /** Should not rewrite */ |