Skip to content

Commit 00fc33d

Browse files
committed
chore: linting
1 parent c184fe1 commit 00fc33d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

coderd/util/slice/slice_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,16 @@ func TestSymmetricDifference(t *testing.T) {
136136
t.Parallel()
137137

138138
t.Run("Simple", func(t *testing.T) {
139+
t.Parallel()
140+
139141
add, remove := slice.SymmetricDifference([]int{1, 3, 4}, []int{1, 2})
140142
require.ElementsMatch(t, []int{2}, add)
141143
require.ElementsMatch(t, []int{3, 4}, remove)
142144
})
143145

144146
t.Run("Large", func(t *testing.T) {
147+
t.Parallel()
148+
145149
add, remove := slice.SymmetricDifference(
146150
[]int{1, 2, 3, 4, 5, 10, 11, 12, 13, 14, 15},
147151
[]int{1, 3, 7, 9, 11, 13, 17},
@@ -151,6 +155,8 @@ func TestSymmetricDifference(t *testing.T) {
151155
})
152156

153157
t.Run("AddOnly", func(t *testing.T) {
158+
t.Parallel()
159+
154160
add, remove := slice.SymmetricDifference(
155161
[]int{1, 2},
156162
[]int{1, 2, 3, 4, 5, 6, 7, 8, 9},
@@ -160,6 +166,8 @@ func TestSymmetricDifference(t *testing.T) {
160166
})
161167

162168
t.Run("RemoveOnly", func(t *testing.T) {
169+
t.Parallel()
170+
163171
add, remove := slice.SymmetricDifference(
164172
[]int{1, 2, 3, 4, 5, 6, 7, 8, 9},
165173
[]int{1, 2},
@@ -169,6 +177,8 @@ func TestSymmetricDifference(t *testing.T) {
169177
})
170178

171179
t.Run("Equal", func(t *testing.T) {
180+
t.Parallel()
181+
172182
add, remove := slice.SymmetricDifference(
173183
[]int{1, 2, 3, 4, 5, 6, 7, 8, 9},
174184
[]int{1, 2, 3, 4, 5, 6, 7, 8, 9},

0 commit comments

Comments
 (0)