Open steffenbusch opened 1 week ago
What the heck, test failed on Windows for some reason :thinking:
replacer_test.go:445: Expected value 'foo' for key 'file.caddytest/integration/testdata/foo_with_trailing_newline.txt' got 'foo
'
replacer_test.go:445: Expected value 'foo
' for key 'file.caddytest/integration/testdata/foo_with_multiple_trailing_newlines.txt' got 'foo
'
--- FAIL: TestReplacerNew (0.01s)
Oh, Windows might have \r\n
instead. That's annoying.
Fixes https://github.com/caddyserver/caddy/issues/6392