Open GoogleCodeExporter opened 8 years ago
It may be fine to simply add $countMatcher as an optional second argument to
matchesPattern(). It reads clearly enough IMHO.
assertThat('foobarfoo', matchesPattern('/foo/', atLeast(2));
As well, it should be wrapped with equalTo() if it's not a matcher.
Original comment by dharkn...@gmail.com
on 4 Aug 2010 at 7:44
Original comment by dharkn...@gmail.com
on 28 Apr 2011 at 12:03
Original issue reported on code.google.com by
dharkn...@gmail.com
on 29 Jul 2010 at 8:12