From 2e8d422e1b780709bff54f29c93172a008e0bde7 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sun, 23 Aug 2026 12:00:17 +0100 Subject: [PATCH] test: Update error string in chasquid-util dkim test In Go commit edf006c9a3fbb23304dd53590e62fef9250ebb94 (released in Go 1.27.0), net/mail was changed to add escaping to some error messages. In the cmd/chasquid-util/test_dkim.cmy test, we were validating output against one of those messages, so in Go 1.27.0 the test now fails. This patch updates the test to match the new string. Note we don't increase the minimum version yet in go.mod: 1.27 is newly released, and chasquid can be built fine with 1.25 for now. We may end up increasing the minimum version later if this discrepancy causes confusion or test errors. --- cmd/chasquid-util/test_dkim.cmy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/chasquid-util/test_dkim.cmy b/cmd/chasquid-util/test_dkim.cmy index 9f315cb..f3a398b 100644 --- a/cmd/chasquid-util/test_dkim.cmy +++ b/cmd/chasquid-util/test_dkim.cmy @@ -146,7 +146,7 @@ c wait 0 c = ./chasquid-util -C=.config dkim-sign c -> Invalid message. c close -c <- Error parsing message: malformed header line: Invalid message. +c <- Error parsing message: malformed header line: "Invalid message." c wait 1 c = ./chasquid-util -C=.config dkim-sign