#23 fixes context in tests
This commit is contained in:
parent
4d112e7a3f
commit
27c6be0d1b
2 changed files with 2 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ func TestCheckpoint_Get_NoRows(t *testing.T) {
|
||||||
if err := mock.ExpectationsWereMet(); err != nil {
|
if err := mock.ExpectationsWereMet(); err != nil {
|
||||||
t.Errorf("there were unfulfilled expectations: %s", err)
|
t.Errorf("there were unfulfilled expectations: %s", err)
|
||||||
}
|
}
|
||||||
_ = ck.Shutdown()
|
_ = ck.Shutdown(ctx)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestCheckpoint_Get_QueryError(t *testing.T) {
|
func TestCheckpoint_Get_QueryError(t *testing.T) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// go:build unit
|
//go:build unit
|
||||||
|
|
||||||
package redis
|
package redis
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue