mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 12:29:05 +02:00
Fixed assert statements. (#16089)
This commit is contained in:
1 parent
51775f65bc
commit
3607f79d78
56 files changed
+227
-228
No files matched your search
@@ -15,6 +15,6 @@ import (
|
||||
func TestPamAuth(t *testing.T) {
|
||||
result, err := Auth("gitea", "user1", "false-pwd")
|
||||
assert.Error(t, err)
|
||||
assert.EqualValues(t, "Authentication failure", err.Error())
|
||||
assert.EqualError(t, err, "Authentication failure")
|
||||
assert.Len(t, result, 0)
|
||||
}
|
||||
Reference in new issue
Block a user