diff options
author | Jon Bratseth <bratseth@oath.com> | 2019-01-11 14:54:17 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2019-01-11 14:54:17 +0100 |
commit | 943a90d07613cc13a52b2b7c561024c949be3741 (patch) | |
tree | 87f1cdf35132dcb59c060aa9a232eb26cda6e7d6 /config-model/src/test/examples/invalid-name.sd | |
parent | bf43cc85cdae96022904359acd3e8f443811fdcf (diff) |
Disallow dash in search definition, document, field and function names
Diffstat (limited to 'config-model/src/test/examples/invalid-name.sd')
-rw-r--r-- | config-model/src/test/examples/invalid-name.sd | 12 |
1 files changed, 12 insertions, 0 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 |