From 660efffbe693cee7e69d527e899bfaee8708c2a9 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 16 May 2013 14:16:08 +0200 Subject: [PATCH] more test expectations (CR-IC-1012 IDEA-106854 Navigate to Class/File doesn't locate files/classes with two-symbols pattern) --- .../testSrc/com/intellij/psi/util/NameUtilMatchingTest.groovy | 4 ++++ 1 file changed, 4 insertions(+) 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() {