summaryrefslogtreecommitdiffstats
path: root/modules/log/level_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log/level_test.go')
-rw-r--r--modules/log/level_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/log/level_test.go b/modules/log/level_test.go
index 2f37e407a1..47f77738c5 100644
--- a/modules/log/level_test.go
+++ b/modules/log/level_test.go
@@ -8,7 +8,8 @@ import (
"fmt"
"testing"
- jsoniter "github.com/json-iterator/go"
+ "code.gitea.io/gitea/modules/json"
+
"github.com/stretchr/testify/assert"
)
@@ -17,7 +18,6 @@ type testLevel struct {
}
func TestLevelMarshalUnmarshalJSON(t *testing.T) {
- json := jsoniter.ConfigCompatibleWithStandardLibrary
levelBytes, err := json.Marshal(testLevel{
Level: INFO,
})