Open dloose opened 11 years ago
Hi, Just to let you know that this issue has been solved in AssertJ core in 1.2.0 release (AssertJ is a fork of Fest Assert). It is not yet solved in Fest (the previous github automatic comment may be confusing).
Regards,
Joel Costigliola
Let's say I have an array that looks like this:
I want to assert that the array has
"--option"
and"c=d"
in sequence, so I write this:The assertion shouldn't fail because the array does contain that sequence. But it does fail because
Arrays.assertContainSequence
assumes that the first occurrence of"--option"
marks the start of the sequence.