diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-02-14 13:56:49 +0300 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-02-19 02:16:01 +0300 |
commit | ede312df67174193caae2ec087a5319a36e0d647 (patch) | |
tree | 4ad44926fd2ed0d8421ce03ddd4fb06493b245c6 /plugins/sonar-squid-java-plugin/src | |
parent | 09349ffce7b246dffb6dfc97fefb81db8fb1ba2a (diff) | |
download | sonarqube-ede312df67174193caae2ec087a5319a36e0d647.tar.gz sonarqube-ede312df67174193caae2ec087a5319a36e0d647.zip |
SONAR-2193 Pattern matching should work in case if pattern ends on "/**"
Diffstat (limited to 'plugins/sonar-squid-java-plugin/src')
-rw-r--r-- | plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/PatternUtilsTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/PatternUtilsTest.java b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/PatternUtilsTest.java index bb968b06821..d10b9254f02 100644 --- a/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/PatternUtilsTest.java +++ b/plugins/sonar-squid-java-plugin/src/test/java/org/sonar/java/PatternUtilsTest.java @@ -34,6 +34,6 @@ public class PatternUtilsTest { assertThat(patterns.length, is(2)); assertThat(patterns[0].match("org/sonar/Foo"), is(true)); - assertThat(patterns[1].match("javax.Bar"), is(true)); + assertThat(patterns[1].match("javax/Bar"), is(true)); } } |