Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12c24c2 commit 7125cadCopy full SHA for 7125cad
modules/auth/pam/pam_test.go
@@ -15,5 +15,5 @@ func TestPamAuth(t *testing.T) {
15
result, err := Auth("gitea", "user1", "false-pwd")
16
assert.Error(t, err)
17
assert.EqualError(t, err, "Authentication failure")
18
- assert.Len(t, result)
+ assert.Empty(t, result)
19
}
0 commit comments