summaryrefslogtreecommitdiff
path: root/encode_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'encode_test.go')
-rw-r--r--encode_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/encode_test.go b/encode_test.go
index e50ddd0..df12582 100644
--- a/encode_test.go
+++ b/encode_test.go
@@ -12,6 +12,7 @@ import (
)
func TestEncoder(t *testing.T) {
+ t.Parallel()
var out strings.Builder
enc := NewEncoder(&out)
@@ -24,6 +25,7 @@ func TestEncoder(t *testing.T) {
}
func TestEncoderIndent(t *testing.T) {
+ t.Parallel()
var out strings.Builder
enc := NewEncoder(&ReEncoder{
Out: &out,
@@ -41,6 +43,7 @@ func TestEncoderIndent(t *testing.T) {
}
func TestEncode(t *testing.T) {
+ t.Parallel()
var out strings.Builder
assert.NoError(t, NewEncoder(&out).Encode(1))