mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 10:44:06 +09:00
Fixed assert statements. (#16089)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user