Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed May 3, 2023
1 parent 81ce40b commit 3867af3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func TestPoolStat(t *testing.T) {
if err != nil {
t.Errorf("expected no error, but got: %s", err)
}
_ = mock.Stat()
if err == nil {
t.Error("expected error, but got nil")
s := mock.Stat()
if s == nil {
t.Error("expected stat object, but got nil")
}
}

0 comments on commit 3867af3

Please sign in to comment.