mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-12 18:58: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)
|
||||
testConn, err := testDialFunc()
|
||||
if err != nil {
|
||||
t.Fail()
|
||||
t.Error(err)
|
||||
}
|
||||
return Tx{&testConfig.Cache, false, false, testConn}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user