when generating Authentication-Results, put each method on a new line for better readability

This commit is contained in:
Mechiel Lukkien
2023-12-14 15:14:07 +01:00
parent 406fdc312d
commit 2710a5b971
3 changed files with 15 additions and 2 deletions

View File

@ -19,7 +19,7 @@ func TestAuthResults(t *testing.T) {
},
}
s := authRes.Header()
const exp = "Authentication-Results: (xn--mx-lka.example) møx.example; dkim=pass\r\n\theader.d=møx.example (xn--mx-lka.example)\r\n"
const exp = "Authentication-Results: (xn--mx-lka.example) møx.example;\r\n\tdkim=pass header.d=møx.example (xn--mx-lka.example)\r\n"
if s != exp {
t.Fatalf("got %q, expected %q", s, exp)
}