diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-02-14 09:42:46 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-02-14 09:42:46 +0100 |
commit | fa0bc59e2313aa6b6249ad88f7c1892a3a29553d (patch) | |
tree | f426c5657280a25c4599deecc5cca3be9378cab7 /config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java | |
parent | c17b1582face7c7f31fea7e151a5855908fe04f5 (diff) |
Handle argument bindings
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java index 1f60ad870ec..182aaba5be8 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/FeatureNamesTestCase.java @@ -42,17 +42,20 @@ public class FeatureNamesTestCase { @Test public void testConstantFeature() { - assertEquals("constant(\"foo/bar\")", FeatureNames.asConstantFeature("foo/bar")); + assertEquals("constant(\"foo/bar\")", + FeatureNames.asConstantFeature("foo/bar").toString()); } @Test public void testAttributeFeature() { - assertEquals("attribute(foo)", FeatureNames.asAttributeFeature("foo")); + assertEquals("attribute(foo)", + FeatureNames.asAttributeFeature("foo").toString()); } @Test public void testQueryFeature() { - assertEquals("query(\"foo.bar\")", FeatureNames.asQueryFeature("foo.bar")); + assertEquals("query(\"foo.bar\")", + FeatureNames.asQueryFeature("foo.bar").toString()); } } |