Skip to content

Commit 3e368a4

Browse files
committed
t.Parallel unit test
1 parent ec5604e commit 3e368a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

coderd/util/xio/limitwriter_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import (
1111
)
1212

1313
func TestLimitWriter(t *testing.T) {
14+
t.Parallel()
15+
1416
type writeCase struct {
1517
N int
1618
ExpN int
@@ -106,6 +108,8 @@ func TestLimitWriter(t *testing.T) {
106108

107109
for _, c := range testCases {
108110
t.Run(c.Name, func(t *testing.T) {
111+
t.Parallel()
112+
109113
buf := bytes.NewBuffer([]byte{})
110114
allBuff := bytes.NewBuffer([]byte{})
111115
w := xio.NewLimitWriter(buf, c.L)

0 commit comments

Comments
 (0)