summaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/prelude/semantics/test/Ellipsis2TestCase.java
blob: 7aa60630db353f5a1feac6106397543bd2cfd92d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.prelude.semantics.test;

/**
 * tersts the ellipsis rule base
 *
 * @author <a href="bratseth@yahoo-inc.com">Jon Bratseth</a>
 */
public class Ellipsis2TestCase extends RuleBaseAbstractTestCase {

    public Ellipsis2TestCase(String name) {
        super(name,"ellipsis2.sr");
    }

    public void testUnreferencedEllipsis() {
        assertSemantics("AND a b c someindex:\"a b c\"","a b c");
    }

}