This commit is contained in:
Lunny Xiao committed 2026-03-02 15:48:27 -08:00
1 parent 4ac42f2b2f
commit 1229c90c47
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -12,10 +12,10 @@ import (
func TestNewClient(t *testing.T) {
u, _ := url.Parse("file:///test")
c := NewClient(u, nil)
c := NewClient(u, nil, nil)
assert.IsType(t, &FilesystemClient{}, c)
u, _ = url.Parse("https://test.com/lfs")
c = NewClient(u, nil)
c = NewClient(u, nil, nil)
assert.IsType(t, &HTTPClient{}, c)
}