Skip to content

Commit

Permalink
Update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
snower committed May 23, 2024
1 parent fb35d8d commit ea54203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/slock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func TestClient_ListLocks(t *testing.T) {
t.Errorf("TestClient_ListLocks ListLocks Fail %v", err)
return
}
if response.Locks == nil || len(response.Locks) != 1 {
if response.Locks == nil || len(response.Locks) == 0 {
t.Errorf("TestClient_ListLocks ListLocks Empty %v", response.Locks)
return
}
Expand Down

0 comments on commit ea54203

Please sign in to comment.