mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix tests?
This commit is contained in:
@@ -50,6 +50,7 @@ public class NameUtilTest extends UsefulTestCase {
|
||||
assertMatches("NaUtTe", "NameUtilTest");
|
||||
assertMatches("AACl", "AAClass");
|
||||
assertMatches("ZZZ", "ZZZZZZZZZZ");
|
||||
assertMatches("", "");
|
||||
}
|
||||
|
||||
public void testSkipWords() {
|
||||
|
||||
@@ -133,6 +133,9 @@ public class MinusculeMatcher implements Matcher {
|
||||
return null;
|
||||
}
|
||||
if (!isWildcard(patternIndex)) {
|
||||
if (patternIndex == myPattern.length) {
|
||||
return FList.emptyList();
|
||||
}
|
||||
return matchFragment(name, patternIndex, nameIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user