diff --git a/internal/e2e/e2e_rank_test.go b/internal/e2e/e2e_rank_test.go index 547399bab..2fa0016e5 100644 --- a/internal/e2e/e2e_rank_test.go +++ b/internal/e2e/e2e_rank_test.go @@ -188,6 +188,7 @@ func assertGolden(t *testing.T, name string, got []byte) { wantPath := filepath.Join("testdata", name+".txt") if *update { + fmt.Printf("writing file: %s", wantPath) if err := os.WriteFile(wantPath, got, 0o600); err != nil { t.Fatal(err) } @@ -311,7 +312,7 @@ func marshalMatches(w io.Writer, rq rankingQuery, q query.Q, files []zoekt.FileM chunks, hidden := splitAtIndex(f.ChunkMatches, chunkMatchesPerFile) for _, m := range chunks { - _, _ = fmt.Fprintf(w, "%d:%s%s\n", m.ContentStart.LineNumber, string(m.Content), addTabIfNonEmpty(m.DebugScore)) + _, _ = fmt.Fprintf(w, "%d:%s%s", m.ContentStart.LineNumber, string(m.Content), addTabIfNonEmpty(m.DebugScore)) } if len(hidden) > 0 { diff --git a/testdata/backcompat/new_v16.00000.zoekt b/testdata/backcompat/new_v16.00000.zoekt deleted file mode 100644 index cd69358f6..000000000 Binary files a/testdata/backcompat/new_v16.00000.zoekt and /dev/null differ