Skip to content

Commit 9eae035

Browse files
authored
fix flaky test in fork module (#69)
1 parent 160b4d8 commit 9eae035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipe/fork/fork_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ func TestPartition(t *testing.T) {
229229
lo, ro := fork.Partition(ctx, par, seq, fun)
230230

231231
it.Then(t).Should(
232-
it.Seq(fork.ToSeq(lo)).Equal(1, 3, 5),
233-
it.Seq(fork.ToSeq(ro)).Equal(2, 4),
232+
it.Seq(fork.ToSeq(lo)).Contain().AllOf(1, 3, 5),
233+
it.Seq(fork.ToSeq(ro)).Contain().AllOf(2, 4),
234234
)
235235

236236
close()

0 commit comments

Comments
 (0)