fix(808): simplify handling of Windows line terminations

Steve Moyer created

Change summary

commands/root_test.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Detailed changes

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)