mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 18:28:36 -07:00
Fail->Error [ci skip]
This commit is contained in:
2
cache/redis/redis_test.go
vendored
2
cache/redis/redis_test.go
vendored
@@ -29,7 +29,7 @@ func CreateTestTxObj(t *testing.T) Tx {
|
|||||||
testDialFunc := makeDialFunc(&testConfig.Cache)
|
testDialFunc := makeDialFunc(&testConfig.Cache)
|
||||||
testConn, err := testDialFunc()
|
testConn, err := testDialFunc()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fail()
|
t.Error(err)
|
||||||
}
|
}
|
||||||
return Tx{&testConfig.Cache, false, false, testConn}
|
return Tx{&testConfig.Cache, false, false, testConn}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user