aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java
index a3f3f9cccb2..8ccb1ed969a 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/CommentTestCase.java
@@ -15,11 +15,13 @@ import static org.junit.Assert.assertEquals;
* @author bratseth
*/
public class CommentTestCase extends SearchDefinitionTestCase {
+
@Test
public void testComments() throws IOException, ParseException {
Search search = SearchBuilder.buildFromFile("src/test/examples/comment.sd");
SDField field = search.getConcreteField("a");
- assertEquals("{ input a | tokenize normalize stem:\"SHORTEST\" | summary a | index a; }",
+ assertEquals("{ input a | tokenize normalize stem:\"BEST\" | summary a | index a; }",
field.getIndexingScript().toString());
}
+
}