From 9c70c7a8ea8680356adee5dc7c08f5286070e427 Mon Sep 17 00:00:00 2001 From: Shiny Nematoda Date: Wed, 28 Aug 2024 11:09:37 +0200 Subject: [PATCH] test(code-search): fix oops --- tests/integration/repo_search_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/integration/repo_search_test.go b/tests/integration/repo_search_test.go index 3b4bb81fbd..259ba36d08 100644 --- a/tests/integration/repo_search_test.go +++ b/tests/integration/repo_search_test.go @@ -95,9 +95,9 @@ func testSearchRepo(t *testing.T, indexer bool) { testSearch(t, "/user2/glob/search?q=file5&mode=union&page=1", []string{}, indexer) } - testSearch(t, "/user2/glob/search?q=file3&page=1&mode=fuzzy", []string{"x/b.txt"}, indexer) - testSearch(t, "/user2/glob/search?q=file4&page=1&mode=fuzzy", []string{}, indexer) - testSearch(t, "/user2/glob/search?q=file5&page=1&mode=fuzzy", []string{}, indexer) + testSearch(t, "/user2/glob/search?q=file3&page=1&mode=exact", []string{"x/b.txt"}, indexer) + testSearch(t, "/user2/glob/search?q=file4&page=1&mode=exact", []string{}, indexer) + testSearch(t, "/user2/glob/search?q=file5&page=1&mode=exact", []string{}, indexer) } func testSearch(t *testing.T, url string, expected []string, indexer bool) {