1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 10:00:56 +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() t.Fail()
} }
} }
if len(staticFileMap) == 0 { if staticFileLruCache.Len() == 0 {
t.Log("men map is empty") t.Log("men map is empty")
t.Fail() t.Fail()
} }