1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 21:30:49 +00:00

complete test example

This commit is contained in:
jianzhiyao 2020-05-08 17:35:02 +08:00
parent b28d5e2716
commit d31975a752

View File

@ -66,7 +66,7 @@ func assetOpenFileAndContent(sch *serveContentHolder, reader *serveContentReader
t.Fail()
}
}
if len(staticFileMap) == 0 {
if staticFileLruCache.Len() == 0 {
t.Log("men map is empty")
t.Fail()
}