diff options
author | Jon Bratseth <bratseth@gmail.com> | 2020-06-12 12:51:22 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2020-06-12 12:51:22 +0200 |
commit | 7f7b6777514bf05916e2edcbc3e27b1bfd28906c (patch) | |
tree | c530cbc56b80eb5128d2d9254b92c0486923f0d4 /document | |
parent | 9fc05281d6a79c26efe04edeb7604300f0c05845 (diff) |
SpareCapacityMaintainer sketch
Diffstat (limited to 'document')
-rw-r--r-- | document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java b/document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java index 2e08814bf43..5e61f8c7ba0 100644 --- a/document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java +++ b/document/src/test/java/com/yahoo/document/select/DocumentSelectorTestCase.java @@ -42,6 +42,7 @@ public class DocumentSelectorTestCase { type.addField("hfloat", DataType.FLOAT); type.addField("hstring", DataType.STRING); type.addField("content", DataType.STRING); + type.addField("truth", DataType.BOOL); StructDataType mystruct = new StructDataType("mystruct"); mystruct.addField(new Field("key", DataType.INT)); @@ -87,6 +88,7 @@ public class DocumentSelectorTestCase { assertParse("music_.artist = \"*\""); assertParse("music_foo.artist = \"*\""); assertParse("music_foo_.artist = \"*\""); + assertParse("truth"); assertParse("(4 + 3) > 0", "(4+3) > 0"); assertParse("1 + 1 > 0", "1 +1 > 0"); assertParse("1 + -1 > 0", "1 + -1 > 0"); |