1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Unit tests for models/wiki

This commit is contained in:
Ethan Koenig
2017-01-27 13:04:53 -05:00
parent bb5a6b7a07
commit bb76285762
3 changed files with 68 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ func ToWikiPageName(urlString string) string {
}
// WikiCloneLink returns clone URLs of repository wiki.
func (repo *Repository) WikiCloneLink() (cl *CloneLink) {
func (repo *Repository) WikiCloneLink() *CloneLink {
return repo.cloneLink(true)
}