diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-04-06 22:54:01 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-04-06 22:54:01 +0200 |
commit | 3a89d04fbc987b4a658f5e200d02987f51f9131e (patch) | |
tree | 59be77ac0dc7fe261d21d99796d8f41846c0f974 /config-model/src/test/java/com/yahoo/searchdefinition | |
parent | d119cf237be1491d970641b3e1037f9f1736296a (diff) |
Expect new error message
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingValuesTestCase.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingValuesTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingValuesTestCase.java index a1c454da822..823ad556b1d 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingValuesTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingValuesTestCase.java @@ -23,7 +23,8 @@ public class IndexingValuesTestCase { public void requireThatInputOtherFieldThrows() throws IOException, ParseException { assertBuildFails("src/test/examples/indexing_input_other_field.sd", "For search 'indexing_input_other_field', field 'bar': Indexing expression 'input foo' " + - "modifies the value of the document field 'bar'. This is no longer supported -- declare " + - "such fields outside the document."); + "attempts to modify the value of the document field 'bar'. " + + "Use a field outside the document block instead."); } + } |