mirror of
https://github.com/Jguer/yay.git
synced 2025-10-04 00:03:11 -04:00
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:
parent
1d4be101aa
commit
661572241a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user