summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-04-06 22:54:01 +0200
committerJon Bratseth <bratseth@gmail.com>2021-04-06 22:54:01 +0200
commit3a89d04fbc987b4a658f5e200d02987f51f9131e (patch)
tree59be77ac0dc7fe261d21d99796d8f41846c0f974 /config-model/src/test/java/com/yahoo/searchdefinition
parentd119cf237be1491d970641b3e1037f9f1736296a (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.java5
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.");
}
+
}