Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit 6016512

Browse files
author
Becca Petrin
committed
fix logical check
1 parent ae7f9fb commit 6016512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

path_login_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func TestLogin(t *testing.T) {
5050
}
5151

5252
resp, err := b.HandleRequest(context.Background(), ldapReq)
53-
if err != nil || (resp == nil && resp.IsError()) {
53+
if err != nil || (resp != nil && resp.IsError()) {
5454
t.Fatalf("err: %s resp: %#v\n", err, resp)
5555
}
5656

0 commit comments

Comments
 (0)