forked from forgejo/forgejo
Fixed assert statements. (#16089)
This commit is contained in:
parent
51775f65bc
commit
3607f79d78
56 changed files with 227 additions and 228 deletions
|
@ -25,7 +25,7 @@ text/*.txt
|
|||
|
||||
func TestGiteaTemplate(t *testing.T) {
|
||||
gt := GiteaTemplate{Content: giteaTemplate}
|
||||
assert.Equal(t, len(gt.Globs()), 3)
|
||||
assert.Len(t, gt.Globs(), 3)
|
||||
|
||||
tt := []struct {
|
||||
Path string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue