summaryrefslogtreecommitdiffstats
path: root/modules/queue/queue_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/queue/queue_test.go')
-rw-r--r--modules/queue/queue_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/queue/queue_test.go b/modules/queue/queue_test.go
index 3608f68d3d..89ce23ac4c 100644
--- a/modules/queue/queue_test.go
+++ b/modules/queue/queue_test.go
@@ -5,9 +5,9 @@
package queue
import (
- "encoding/json"
"testing"
+ jsoniter "github.com/json-iterator/go"
"github.com/stretchr/testify/assert"
)
@@ -30,6 +30,7 @@ func TestToConfig(t *testing.T) {
assert.NotEqual(t, cfg2, exemplar)
assert.Equal(t, &cfg, &cfg2)
+ json := jsoniter.ConfigCompatibleWithStandardLibrary
cfgString, err := json.Marshal(cfg)
assert.NoError(t, err)