diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-06-06 09:01:02 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-06-06 09:01:02 -0400 |
commit | 1a504e05225bb86492bec5a6f8b1b0172d1860c7 (patch) | |
tree | 7e56bbe5420bb87fafa01e0191c1257d376063b1 /commands | |
parent | 5982e8fb3c7d07ff47d2b6143bc74d32669970f7 (diff) | |
download | git-bug-1a504e05225bb86492bec5a6f8b1b0172d1860c7.tar.gz |
fix(808): simplify handling of Windows line terminations
Diffstat (limited to 'commands')
-rw-r--r-- | commands/root_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/root_test.go b/commands/root_test.go index 840bedda..c26964d7 100644 --- a/commands/root_test.go +++ b/commands/root_test.go @@ -7,7 +7,6 @@ import ( "io/ioutil" "os" "path/filepath" - "strings" "testing" "github.com/MichaelMure/git-bug/commands" @@ -65,7 +64,7 @@ func requireGoldenFileEqual(t *testing.T, path string, act []byte) { t.Helper() // Replace Windows line terminators - act = []byte(strings.ReplaceAll(string(act), "\r\n", "\n")) + // act = []byte(strings.ReplaceAll(string(act), "\r\n", "\n")) path = filepath.Join("testdata", path) |