summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/extensions/relational/errors/validation.sieve
diff options
context:
space:
mode:
Diffstat (limited to 'pigeonhole/tests/extensions/relational/errors/validation.sieve')
-rw-r--r--pigeonhole/tests/extensions/relational/errors/validation.sieve11
1 files changed, 11 insertions, 0 deletions
diff --git a/pigeonhole/tests/extensions/relational/errors/validation.sieve b/pigeonhole/tests/extensions/relational/errors/validation.sieve
new file mode 100644
index 0000000..f355097
--- /dev/null
+++ b/pigeonhole/tests/extensions/relational/errors/validation.sieve
@@ -0,0 +1,11 @@
+require "relational";
+
+# Not a valid relation (1)
+if header :value "gr" "from" "ah" {
+ keep;
+}
+
+# Not a valid relation (1)
+if header :count "lf" "from" "eek" {
+ keep;
+}