From f41339738a6bc8caad32f44dca4ce6410989642f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 Nov 2020 11:52:02 +0100 Subject: [PATCH] dkim: fix typo in test error message --- dkim/canonical_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dkim/canonical_test.go b/dkim/canonical_test.go index e08a0c5..24112ac 100644 --- a/dkim/canonical_test.go +++ b/dkim/canonical_test.go @@ -160,9 +160,9 @@ func TestRelaxedCanonicalizer_CanonicalBody(t *testing.T) { wc := c.CanonicalizeBody(&b) if _, err := wc.Write([]byte(test.original)); err != nil { - t.Errorf("Expected no error while writing to simple body canonicalizer, got: %v", err) + t.Errorf("Expected no error while writing to relaxed body canonicalizer, got: %v", err) } else if err := wc.Close(); err != nil { - t.Errorf("Expected no error while closing simple body canonicalizer, got: %v", err) + t.Errorf("Expected no error while closing relaxed body canonicalizer, got: %v", err) } else if s := b.String(); s != test.canonical { t.Errorf("Expected canonical body for %q to be %q, but got %q", test.original, test.canonical, s) }