jocarreira / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

Is IsArrayContainingSingleItem superflous? #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In trunk/hamcrest-java:
Could the new  IsArrayContainingSingleItem and IsIterableContainingSingleItem 
be eliminated? They 
could be satisfied by IsArrayContainingInOrder and IsIterableContainingInOrder 
if there were a way 
to construct them with single items.

Original issue reported on code.google.com by jon.m.r...@gmail.com on 18 Aug 2008 at 3:04

GoogleCodeExporter commented 8 years ago
Looking further, we should just eliminate the Single matchers. They can be 
specified with the other versions by 
just adding a single value.

Original comment by smgfree...@gmail.com on 12 Oct 2008 at 11:03