summaryrefslogtreecommitdiff
path: root/compat/json/borrowed_tags_test.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-27 00:02:29 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-29 02:14:51 -0700
commitbdfb423cbaff683269c7448afe6d93d224c5a482 (patch)
tree2f10c3a13f56f94e498b8e3aac3e519a91d86518 /compat/json/borrowed_tags_test.go
parent659b2cd182132b0827484855689e3d21e8d9ce9f (diff)
.golangci.yml: Turn on 'paralleltest', fix
Diffstat (limited to 'compat/json/borrowed_tags_test.go')
-rw-r--r--compat/json/borrowed_tags_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/json/borrowed_tags_test.go b/compat/json/borrowed_tags_test.go
index 71d26e1..e48df0a 100644
--- a/compat/json/borrowed_tags_test.go
+++ b/compat/json/borrowed_tags_test.go
@@ -11,6 +11,7 @@ import (
)
func TestTagParsing(t *testing.T) {
+ t.Parallel() // MODIFIED: added
name, opts := parseTag("field,foobar,foo")
if name != "field" {
t.Fatalf("name = %q, want field", name)