提交 7d1b03ee 编写于 作者: A astaxie

toolbox: fix the test case

上级 84a4379f
......@@ -10,7 +10,6 @@
package toolbox
import (
"os"
"testing"
"time"
)
......@@ -23,5 +22,5 @@ func TestStatics(t *testing.T) {
StatisticsMap.AddStatistics("POST", "/api/user/astaxie", "&admin.user", time.Duration(12000))
StatisticsMap.AddStatistics("POST", "/api/user/xiemengjun", "&admin.user", time.Duration(13000))
StatisticsMap.AddStatistics("DELETE", "/api/user", "&admin.user", time.Duration(1400))
StatisticsMap.GetMap(os.Stdout)
t.Log(StatisticsMap.GetMap())
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册