diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-10-19 14:34:54 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-10-19 14:34:54 +0200 |
commit | e4651cd18ffa22ceec76ea982be8a9fbe171b4b1 (patch) | |
tree | 20cd8e3158895b1fc72e90061ad776c986020803 /config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java | |
parent | fb81412a6718ce2419ceee89a09c6705a4578487 (diff) |
Use 'schema' not 'search' in messages
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java')
-rw-r--r-- | config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java index bb935fb8a90..725b1b17ff0 100644 --- a/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java +++ b/config-model/src/test/java/com/yahoo/searchdefinition/processing/IndexingInputsTestCase.java @@ -16,7 +16,7 @@ public class IndexingInputsTestCase { @Test public void requireThatExtraFieldInputExtraFieldThrows() throws IOException, ParseException { assertBuildFails("src/test/examples/indexing_extra_field_input_extra_field.sd", - "For search 'indexing_extra_field_input_extra_field', field 'bar': Indexing script refers " + + "For schema 'indexing_extra_field_input_extra_field', field 'bar': Indexing script refers " + "to field 'bar' which does not exist in document type " + "'indexing_extra_field_input_extra_field', and is not a mutable attribute."); } @@ -24,21 +24,22 @@ public class IndexingInputsTestCase { @Test public void requireThatExtraFieldInputImplicitThrows() throws IOException, ParseException { assertBuildFails("src/test/examples/indexing_extra_field_input_implicit.sd", - "For search 'indexing_extra_field_input_implicit', field 'foo': Indexing script refers to " + + "For schema 'indexing_extra_field_input_implicit', field 'foo': Indexing script refers to " + "field 'foo' which does not exist in document type 'indexing_extra_field_input_implicit', and is not a mutable attribute."); } @Test public void requireThatExtraFieldInputNullThrows() throws IOException, ParseException { assertBuildFails("src/test/examples/indexing_extra_field_input_null.sd", - "For search 'indexing_extra_field_input_null', field 'foo': Indexing script refers to field " + + "For schema 'indexing_extra_field_input_null', field 'foo': Indexing script refers to field " + "'foo' which does not exist in document type 'indexing_extra_field_input_null', and is not a mutable attribute."); } @Test public void requireThatExtraFieldInputSelfThrows() throws IOException, ParseException { assertBuildFails("src/test/examples/indexing_extra_field_input_self.sd", - "For search 'indexing_extra_field_input_self', field 'foo': Indexing script refers to field " + + "For schema 'indexing_extra_field_input_self', field 'foo': Indexing script refers to field " + "'foo' which does not exist in document type 'indexing_extra_field_input_self', and is not a mutable attribute."); } + } |