1
require "vnd.dovecot.testsuite";
6
if environment :contains "nonsense" "" {
7
test_fail "matched unknown environment item";
12
if not environment :contains "version" "" {
13
test_fail "failed to match known environment item";
19
environment :count "eq" "nonsense" "0",
20
environment :count "eq" "nonsense" "1"
22
test_fail "count should not match unknown environment item";
25
if not environment :count "eq" "host" "1" {
26
test_fail "count of non-empty environment should be 1";