mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 17:20:53 +02:00
Fix lint
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user