Skip to content

Commit 82964c6

Browse files
committed
fix:fix UT
1 parent 6d13a45 commit 82964c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lang/collect/collect_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestCollector_CollectByTreeSitter_Java(t *testing.T) {
3939
lsp.RegisterProvider(uniast.Java, &javaLsp.JavaProvider{})
4040

4141
openfile, wait := java.CheckRepo(javaTestCase)
42-
l, s := java.GetDefaultLSP()
42+
l, s := java.GetDefaultLSP(make(map[string]string))
4343
client, err := lsp.NewLSPClient(javaTestCase, openfile, wait, lsp.ClientOptions{
4444
Server: s,
4545
Language: l,

0 commit comments

Comments
 (0)