summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/inheritfromparent
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/test/derived/inheritfromparent')
-rw-r--r--config-model/src/test/derived/inheritfromparent/child.sd2
-rw-r--r--config-model/src/test/derived/inheritfromparent/parent.sd2
2 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/derived/inheritfromparent/child.sd b/config-model/src/test/derived/inheritfromparent/child.sd
index ea577d620b7..055f998b8f0 100644
--- a/config-model/src/test/derived/inheritfromparent/child.sd
+++ b/config-model/src/test/derived/inheritfromparent/child.sd
@@ -1,5 +1,5 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search child {
+schema child {
document child inherits parent {
field child_field type parent_struct { }
}
diff --git a/config-model/src/test/derived/inheritfromparent/parent.sd b/config-model/src/test/derived/inheritfromparent/parent.sd
index 502da7efcaf..ceda280ec30 100644
--- a/config-model/src/test/derived/inheritfromparent/parent.sd
+++ b/config-model/src/test/derived/inheritfromparent/parent.sd
@@ -1,5 +1,5 @@
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-search parent {
+schema parent {
document parent {
struct parent_struct {
field parent_field type string { }