Modified the test case in query_builder_test.go to pass nil for the logger parameter in the SourceQueryBuilder initialization, aligning with recent changes in the constructor signature.

This commit is contained in:
Sebastian Korotkiewicz 2025-09-27 03:38:26 +02:00
parent 1d4be101aa
commit 661572241a
No known key found for this signature in database
GPG Key ID: 5BDC557B496BDB0D

View File

@ -343,7 +343,7 @@ func TestSourceQueryBuilder(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.desc, func(t *testing.T) {
w := &strings.Builder{}
queryBuilder := NewSourceQueryBuilder(mockAUR,
queryBuilder := NewSourceQueryBuilder(mockAUR, nil,
text.NewLogger(w, io.Discard, strings.NewReader(""), false, "test"),
tc.sortBy, tc.targetMode, tc.searchBy, tc.bottomUp,
tc.singleLineResults, tc.separateSources)