diff --git a/platform/platform-tests/testSrc/com/intellij/psi/util/NameUtilMatchingTest.groovy b/platform/platform-tests/testSrc/com/intellij/psi/util/NameUtilMatchingTest.groovy index 2e986ee4c0e3..15156d9a124a 100644 --- a/platform/platform-tests/testSrc/com/intellij/psi/util/NameUtilMatchingTest.groovy +++ b/platform/platform-tests/testSrc/com/intellij/psi/util/NameUtilMatchingTest.groovy @@ -381,6 +381,10 @@ public class NameUtilMatchingTest extends UsefulTestCase { assertDoesntMatch("Foo ", "Foox"); assertDoesntMatch("Collections ", "CollectionSplitter"); assertMatches("CollectionS ", "CollectionSplitter"); + + assertDoesntMatch("*l ", "AppDelegate"); + assertDoesntMatch("*le ", "AppDelegate"); + assertDoesntMatch("*leg ", "AppDelegate"); } public void testDigits() {