diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-11-06 11:27:55 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-11-06 11:27:55 +0100 |
commit | 975ae438bb199feb396625c5a02156986d8dc034 (patch) | |
tree | 097a0ea953ff601e5a7e9085fabf045f22486b3b /container-search/src/test/java/com/yahoo/select | |
parent | 8a4ab6394438045f740cb850d882346796e99eb6 (diff) |
Improve error messages
Diffstat (limited to 'container-search/src/test/java/com/yahoo/select')
-rw-r--r-- | container-search/src/test/java/com/yahoo/select/SelectTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/test/java/com/yahoo/select/SelectTestCase.java b/container-search/src/test/java/com/yahoo/select/SelectTestCase.java index 6871e26b96a..9fa222bafad 100644 --- a/container-search/src/test/java/com/yahoo/select/SelectTestCase.java +++ b/container-search/src/test/java/com/yahoo/select/SelectTestCase.java @@ -547,7 +547,7 @@ public class SelectTestCase { assertParseFail("{ \"contains\" : [\"fieldName\", {\"equiv\" : [\"ny\",{\"nalle\" : [ \"void\" ] } ] } ] }", new IllegalArgumentException("Expected operator phrase, got nalle.")); assertParseFail("{ \"contains\" : [\"fieldName\", {\"equiv\" : [\"ny\", 42]}]}", - new IllegalArgumentException("Word item word can not be empty")); + new IllegalArgumentException("The word of a word item can not be empty")); } @Test |