From: Aki Tuomi Date: Fri, 31 Mar 2017 12:30:58 +0000 (+0300) Subject: test-var-expand: Expect error X-Git-Tag: 2.2.29.rc1~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2f200c787200b54ff1278666669f8f33ae7953c;p=thirdparty%2Fdovecot%2Fcore.git test-var-expand: Expect error --- diff --git a/src/lib/test-var-expand.c b/src/lib/test-var-expand.c index 386b1c6a15..1db997abeb 100644 --- a/src/lib/test-var-expand.c +++ b/src/lib/test-var-expand.c @@ -263,6 +263,8 @@ static void test_var_expand_extensions(void) var_expand_with_funcs(str, "notfound: %{notfound:field}", table, func_table, NULL); + /* expect error */ + test_expect_errors(1); var_expand_with_funcs(str, "notfound: %{badparam:field}", table, func_table, NULL);