From 079973de8280c23b7a3f74f6c2d0ac5b7d963d9d Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 27 Jan 2025 22:03:22 +0000 Subject: [PATCH] tempfork/acme: fix TestSyncedToUpstream with Windows line endings Updates #10238 Change-Id: Ic85811c267679a9f79377f376d77dee3a9d92ce7 Signed-off-by: Brad Fitzpatrick --- tempfork/acme/sync_to_upstream_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tempfork/acme/sync_to_upstream_test.go b/tempfork/acme/sync_to_upstream_test.go index d6bea7a11..e22c8c1a8 100644 --- a/tempfork/acme/sync_to_upstream_test.go +++ b/tempfork/acme/sync_to_upstream_test.go @@ -55,7 +55,7 @@ func TestSyncedToUpstream(t *testing.T) { if err != nil { t.Fatal(err) } - m[name] = string(b) + m[name] = strings.ReplaceAll(string(b), "\r", "") } return m