Chore: format code
This commit is contained in:
10
adapter/cache/memcache/memcache_test.go
vendored
10
adapter/cache/memcache/memcache_test.go
vendored
@@ -27,10 +27,10 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
initError = "init err"
|
||||
setError = "set Error"
|
||||
checkError = "check err"
|
||||
getError = "get err"
|
||||
initError = "init err"
|
||||
setError = "set Error"
|
||||
checkError = "check err"
|
||||
getError = "get err"
|
||||
getMultiError = "GetMulti Error"
|
||||
)
|
||||
|
||||
@@ -72,7 +72,7 @@ func TestMemcacheCache(t *testing.T) {
|
||||
|
||||
assert.Nil(t, bm.Delete("astaxie"))
|
||||
|
||||
assert.False(t, bm.IsExist("astaxie"))
|
||||
assert.False(t, bm.IsExist("astaxie"))
|
||||
|
||||
assert.Nil(t, bm.Put("astaxie", "author", timeoutDuration))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user