aboutsummaryrefslogtreecommitdiff
path: root/tests/library/corpora/slug.toml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/library/corpora/slug.toml')
-rw-r--r--tests/library/corpora/slug.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/library/corpora/slug.toml b/tests/library/corpora/slug.toml
new file mode 100644
index 0000000..87d5407
--- /dev/null
+++ b/tests/library/corpora/slug.toml
@@ -0,0 +1,17 @@
+accepts = [
+ "hello-world",
+ "my-post-123",
+ "a",
+ "abc",
+ "x-y-z",
+]
+
+rejects = [
+ "",
+ " ",
+ "Hello-World",
+ "hello_world",
+ "-abc",
+ "abc-",
+ "a--b",
+]