Closed GoogleCodeExporter closed 9 years ago
Hi, you need to add parenthesis for the match to work:
Iterable(1,2,3) must containAll(Iterable(3,1,2))
// or if you prefer
Iterable(1,2,3) must containAll (Iterable(3,1,2))
Otherwise this is interpreted by the compiler as:
(Iterable(1,2,3) must containAll) ... and Iterable(3,1,2)
where containAll is a function returning a matcher, which is not what is
expected by the must method.
Original comment by etorrebo...@gmail.com
on 5 Oct 2010 at 10:39
Original issue reported on code.google.com by
jerihofr...@gmail.com
on 5 Oct 2010 at 8:52