aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/position_inherited.sd
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@oath.com>2018-11-22 16:20:27 +0100
committerTor Brede Vekterli <vekterli@oath.com>2018-11-22 16:33:24 +0100
commitcb4ffb997d22a1128b33fe3ea0b07f1a2b9862b9 (patch)
tree38de3229e1e0b6a26fd2db8d8daa453410600c56 /config-model/src/test/examples/position_inherited.sd
parent439f4d13240ee420a9270625406035ffa28a5ba7 (diff)
Add unit test for position zcurve field not being part of [document] fieldset
Should work as expected when the field is defined in a parent document type.
Diffstat (limited to 'config-model/src/test/examples/position_inherited.sd')
-rw-r--r--config-model/src/test/examples/position_inherited.sd4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-model/src/test/examples/position_inherited.sd b/config-model/src/test/examples/position_inherited.sd
new file mode 100644
index 00000000000..b3341e01f80
--- /dev/null
+++ b/config-model/src/test/examples/position_inherited.sd
@@ -0,0 +1,4 @@
+# Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+search position_inherited {
+ document position_inherited inherits position_base {}
+}