summaryrefslogtreecommitdiff
path: root/decode_test.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:15:13 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:15:13 -0700
commit0b57145421e7e4f165f64e73ee7c5d8102945569 (patch)
tree25584309e42bb53469959a3725393bdbc8b225c7 /decode_test.go
parentffee5c8516f3f55f82ed5bb8f0a4f340d485fa92 (diff)
parent7e00adcf43b18a22ffbbadc79b8681a5d871f448 (diff)
Merge branch 'lukeshu/quality'
This branch works to improve code quality, without making any substantive changes.
Diffstat (limited to 'decode_test.go')
-rw-r--r--decode_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/decode_test.go b/decode_test.go
index 90729fa..73ce903 100644
--- a/decode_test.go
+++ b/decode_test.go
@@ -13,6 +13,7 @@ import (
)
func TestDecodeNumber(t *testing.T) {
+ t.Parallel()
r := strings.NewReader(`1{}`)
var num int
@@ -22,6 +23,7 @@ func TestDecodeNumber(t *testing.T) {
}
func TestDecodeObject(t *testing.T) {
+ t.Parallel()
err := DecodeObject(strings.NewReader(`{"foo":9}`),
func(r io.RuneScanner) error {
return nil