Commit 7d1b03ee authored by astaxie's avatar astaxie

toolbox: fix the test case

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment