summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples
diff options
context:
space:
mode:
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
- }
-
- }
-
-}