aboutsummaryrefslogtreecommitdiffstats
path: root/modules/auth/pam/pam_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/pam/pam_test.go')
-rw-r--r--modules/auth/pam/pam_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/pam/pam_test.go b/modules/auth/pam/pam_test.go
index 7265b5d0c1..d4ab058ec7 100644
--- a/modules/auth/pam/pam_test.go
+++ b/modules/auth/pam/pam_test.go
@@ -15,5 +15,5 @@ func TestPamAuth(t *testing.T) {
result, err := Auth("gitea", "user1", "false-pwd")
assert.Error(t, err)
assert.EqualError(t, err, "Authentication failure")
- assert.Len(t, result)
+ assert.Empty(t, result)
}