1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-09-13 08:58:50 +00:00

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.
This commit is contained in:
Alberto Bertogli
2026-08-23 12:00:17 +01:00
parent d9ef3f58b3
commit 2e8d422e1b
+1 -1
View File
@@ -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