summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-08-29 15:37:33 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2018-08-29 15:37:33 +0200
commite0a56386b3d6a052434a7255941eee9aca5f7caa (patch)
treeb2e1cda638d0ac3c5378d93c4d0537c4e2bf14c1 /config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java
parent06323aff51bf054d64ef2bea001917a22433717f (diff)
Improve error message
Diffstat (limited to 'config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java')
-rw-r--r--config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java b/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java
index 1b58db0322b..204be96555f 100644
--- a/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java
+++ b/config-model/src/test/java/com/yahoo/searchdefinition/AttributeSettingsTestCase.java
@@ -120,7 +120,7 @@ public class AttributeSettingsTestCase extends SearchDefinitionTestCase {
@Test
public void requireThatMutableCanNotbeSetInDocument() throws ParseException {
exceptionRule.expect(IllegalArgumentException.class);
- exceptionRule.expectMessage("Field field 'f' in 'test' can not be marked mutable as it inside the document.");
+ exceptionRule.expectMessage("Field 'f' in 'test' can not be marked mutable as it is inside the document clause.");
Attribute attr = getAttributeF(
"search test {\n" +
" document test {\n" +