fix bug on cache/file

This commit is contained in:
Wusuluren 2019-04-05 22:32:28 +08:00
parent 1900246054
commit dfab44c24a
1 changed files with 1 additions and 1 deletions

2
cache/cache_test.go vendored
View File

@ -98,7 +98,7 @@ func TestCache(t *testing.T) {
}
func TestFileCache(t *testing.T) {
bm, err := NewCache("file", `{"CachePath":"cache","FileSuffix":".bin","DirectoryLevel":2,"EmbedExpiry":0}`)
bm, err := NewCache("file", `{"CachePath":"cache","FileSuffix":".bin","DirectoryLevel":"2","EmbedExpiry":"0"}`)
if err != nil {
t.Error("init err")
}