···4242 "https://github.com/sourcegraph/sourcegraph/tree/v5.2.2",
4343 "https://github.com/golang/go/tree/go1.21.4",
4444 "https://github.com/sourcegraph/cody/tree/vscode-v0.14.5",
4545+ // The commit before ranking e2e tests were added to avoid matching
4646+ // content inside our golden files.
4747+ "https://github.com/sourcegraph/zoekt/commit/ef907c2371176aa3f97713d5bf182983ef090c6a",
4548 }
4649 q := func(query, target string) rankingQuery {
4750 return rankingQuery{Query: query, Target: target}
···6164 // cody
6265 q("generate unit test", "github.com/sourcegraph/cody/lib/shared/src/chat/recipes/generate-test.ts"),
6366 q("r:cody sourcegraph url", "github.com/sourcegraph/cody/lib/shared/src/sourcegraph-api/graphql/client.ts"),
6767+6868+ // zoekt
6969+ q("zoekt searcher", "github.com/sourcegraph/zoekt/api.go"),
64706571 // exact phrases
6672 q("assets are not configured for this binary", "github.com/sourcegraph/sourcegraph/ui/assets/assets.go"),
···210216 }
211217 opts.SetDefaults() // sets metadata like Name and the codeload URL
212218 u = opts.Archive
219219+220220+ // if opts.Commit is set but opts.Branch is not, then we just need to give
221221+ // the commit a name for testing.
222222+ if opts.Commit != "" && opts.Branch == "" {
223223+ opts.Branch = "test"
224224+ }
213225214226 // update Archive location to cached location
215227 cacheBase := fmt.Sprintf("%s-%s%s.tar.gz", url.QueryEscape(opts.Name), opts.Branch, opts.Commit) // assume .tar.gz
+1-1
internal/e2e/testdata/bufio_buffer.txt
···383830:type EncoderBufferPool interface {
3939hidden 18 more line matches
40404141-hidden 112 more file matches
4141+hidden 113 more file matches
+1-1
internal/e2e/testdata/bufio_flush_writer.txt
···383837:func NewWriter(w io.Writer) *Writer {
3939hidden 25 more line matches
40404141-hidden 77 more file matches
4141+hidden 78 more file matches
+1-1
internal/e2e/testdata/generate_unit_test.txt
···3838228: generatedSyms Bitmap // symbols that generate their content, indexed by ext sym idx
3939hidden 50 more line matches
40404141-hidden 244 more file matches
4141+hidden 245 more file matches