diff options
author | 6543 <6543@obermui.de> | 2022-01-25 19:15:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 18:15:58 +0000 |
commit | 80adbebbc8e0814d0fa0ac660d5c9452e458067b (patch) | |
tree | 50711b3b3760008b7b06abb22b452f2a12730dd2 /integrations/git_clone_wiki_test.go | |
parent | 93250bfe278f46f0344f513a13b1b396eddb7406 (diff) | |
download | gitea-80adbebbc8e0814d0fa0ac660d5c9452e458067b.tar.gz gitea-80adbebbc8e0814d0fa0ac660d5c9452e458067b.zip |
Unexport git.GlobalCommandArgs (#18376)
Unexport the git.GlobalCommandArgs variable.
Diffstat (limited to 'integrations/git_clone_wiki_test.go')
-rw-r--r-- | integrations/git_clone_wiki_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/git_clone_wiki_test.go b/integrations/git_clone_wiki_test.go index 16cee254bc..a73174f6aa 100644 --- a/integrations/git_clone_wiki_test.go +++ b/integrations/git_clone_wiki_test.go @@ -41,7 +41,7 @@ func TestRepoCloneWiki(t *testing.T) { u, _ = url.Parse(r) u.User = url.UserPassword("user2", userPassword) t.Run("Clone", func(t *testing.T) { - assert.NoError(t, git.CloneWithArgs(context.Background(), u.String(), dstPath, allowLFSFilters(), git.CloneRepoOptions{})) + assert.NoError(t, git.CloneWithArgs(context.Background(), u.String(), dstPath, git.AllowLFSFiltersArgs(), git.CloneRepoOptions{})) assertFileEqual(t, filepath.Join(dstPath, "Home.md"), []byte("# Home page\n\nThis is the home page!\n")) assertFileExist(t, filepath.Join(dstPath, "Page-With-Image.md")) assertFileExist(t, filepath.Join(dstPath, "Page-With-Spaced-Name.md")) |