From: Timo Sirainen Date: Tue, 18 Nov 2025 13:18:56 +0000 (+0200) Subject: lib-var-expand: Fix unit test failure with some bison versions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50698bd2d06baefd94d03e9e12360a606965e9de;p=thirdparty%2Fdovecot%2Fcore.git lib-var-expand: Fix unit test failure with some bison versions Some versions start the error with "syntax error, unexpected $end". Broken by fcedf9dfe8db1fa0952df47ddfc26d930188863a --- diff --git a/src/lib-var-expand/test-var-expand.c b/src/lib-var-expand/test-var-expand.c index e2c4b5a0e6..b395b770ba 100644 --- a/src/lib-var-expand/test-var-expand.c +++ b/src/lib-var-expand/test-var-expand.c @@ -101,8 +101,7 @@ static void test_var_expand_builtin_filters(void) { { .in = "%{}", .out = "", .ret = 0 }, { .in = "%{", - .out = "syntax error, unexpected end of file, expecting " - "CCBRACE or PIPE or NAME", + .out = "expecting CCBRACE or PIPE or NAME", .ret = -1 }, { .in = "hello%{}world", .out = "helloworld", .ret = 0 },