Skip to content

Commit

Permalink
Do not call Parallel twice: ProgramTest already calls it
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Nov 14, 2023
1 parent 40ccba4 commit 89193cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/examples_go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ func TestTagsCombinationsGo(t *testing.T) {
for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
tc.s1.validateTransitionTo(t, tc.s2)
})
}
Expand Down Expand Up @@ -128,7 +127,6 @@ func TestRandomTagsCombinationsGo(t *testing.T) {

for i := 0; i < 100; i++ {
t.Run(fmt.Sprintf("test-%d", i), func(t *testing.T) {
t.Parallel()
i := rand.Intn(len(states))
j := rand.Intn(len(states))
state1, state2 := states[i], states[j]
Expand Down

0 comments on commit 89193cb

Please sign in to comment.