1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 03:47:04 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-01-09 05:41:20 +02:00
parent 72c2dafd2e
commit 8aedf6bc32
36 changed files with 99 additions and 130 deletions

View File

@@ -20,7 +20,7 @@ func TestCSV(t *testing.T) {
lat, _ := time.ParseDuration("1s")
print := func() {
printFunc := func() {
ac.Print(
nil,
lat,
@@ -39,8 +39,8 @@ func TestCSV(t *testing.T) {
}
// print twice, the header should only be written once.
print()
print()
printFunc()
printFunc()
expected := `Timestamp,Latency,Code,Method,Path,IP,Req Values,In,Out
725864400000,1s,200,GET,/,::1,sleep=1s,573,81