You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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).
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.The text was updated successfully, but these errors were encountered: