diff --git a/tests/extensions/enotify/errors.svtest b/tests/extensions/enotify/errors.svtest index 0fa19b60172337f58a21bc78c4819f4219f11fce..5af36df3b7b7d3f0b27c949cd04b610f0d376abc 100644 --- a/tests/extensions/enotify/errors.svtest +++ b/tests/extensions/enotify/errors.svtest @@ -29,7 +29,7 @@ test "Invalid mailto :from address (FIXME: count only)" { test_fail "compile should have failed"; } - if not test_error :count "eq" :comparator "i;ascii-numeric" "2" { + if not test_error :count "eq" :comparator "i;ascii-numeric" "3" { test_fail "wrong number of errors reported"; } } diff --git a/tests/extensions/enotify/errors/from-mailto.sieve b/tests/extensions/enotify/errors/from-mailto.sieve index f40ed04685bc0343f6aaf7bb5690a601536ced04..7046040ebef9c0e359d19786fe8cb07da927671c 100644 --- a/tests/extensions/enotify/errors/from-mailto.sieve +++ b/tests/extensions/enotify/errors/from-mailto.sieve @@ -2,3 +2,6 @@ require "enotify"; # 1: Invalid from address notify :from "stephan#rename-it.nl" "mailto:stephan@example.com"; + +# 2: Empty from address +notify :from "" "mailto:stephan@example.com";