aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2019-02-04 14:20:54 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2019-02-04 14:20:54 +0100
commit1caec5a2070920c99e5701b4638701328e68600a (patch)
tree6e5ffbb180d667e9c15d1d6f6cf2ed9c526b97bf /config-model/src/test/examples
parent5bab68921998c26da4b5f1250c5cf20b3f287c81 (diff)
Revert "Merge pull request #8370 from vespa-engine/revert-8308-bratseth/disallow-dash-rebased"
This reverts commit 43cf4fd1ec196cb0543af73db8e3bd1f6774f0a8, reversing changes made to 14172aa5cd890445980202909d1277429e4c5a3a.
Diffstat (limited to 'config-model/src/test/examples')
-rw-r--r--config-model/src/test/examples/invalid-name.sd12
-rw-r--r--config-model/src/test/examples/simple-with-weird-name.sd13
2 files changed, 12 insertions, 13 deletions
diff --git a/config-model/src/test/examples/invalid-name.sd b/config-model/src/test/examples/invalid-name.sd
new file mode 100644
index 00000000000..f26fcc723f4
--- /dev/null
+++ b/config-model/src/test/examples/invalid-name.sd
@@ -0,0 +1,12 @@
+# Dashes in names are not allowed
+search invalid-name {
+
+ document invalid-name {
+
+ field title type string {
+
+ }
+
+ }
+
+} \ No newline at end of file
diff --git a/config-model/src/test/examples/simple-with-weird-name.sd b/config-model/src/test/examples/simple-with-weird-name.sd
deleted file mode 100644
index 109f4f7bba7..00000000000
--- a/config-model/src/test/examples/simple-with-weird-name.sd
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# A minimal doc with name which is incompatible with YQL+
-search simple-with-weird-name {
-
- document simple-with-weird-name {
-
- field title type string {
- indexing: summary | index
- }
-
- }
-
-}