Giacomo Pati wrote:
>>>
>>> - public void testEmptyPattern() throws Exception {
>>> + public void test21WildcardURIMatch()
>>> + throws Exception {
>>> + Map result = WildcardMatcherHelper.match("*/**",
>>> "samples/blocks/");
>>> + assertNotNull(result);
>>> + assertEquals("", result.get("1"));
>
> Oh, if this test succeeds isn't it wrong? Shouldn't {1}be "samples"?
>
Ups, yep - damn copy-paste. I corrected the test case, but it still
fails as the result is null.
Carsten
--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/