forked from Ivasoft/traefik
chore: update linter
This commit is contained in:
committed by
GitHub
parent
b39d226fb8
commit
596f04eae8
@@ -2,7 +2,6 @@ package accesslog
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@@ -84,7 +83,7 @@ func TestCommonLogFormatter_Format(t *testing.T) {
|
||||
}
|
||||
|
||||
// Set timezone to Etc/GMT+9 to have a constant behavior
|
||||
os.Setenv("TZ", "Etc/GMT+9")
|
||||
t.Setenv("TZ", "Etc/GMT+9")
|
||||
|
||||
for _, test := range testCases {
|
||||
test := test
|
||||
|
||||
Reference in New Issue
Block a user