Skip to content

Commit

Permalink
Issue #11446: Update ImportOrderCheckTest to use verifyWithInlineConf…
Browse files Browse the repository at this point in the history
…igParser
  • Loading branch information
Kevin222004 authored and romani committed Mar 26, 2022
1 parent 23b1b29 commit 693ed38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions pom.xml
Expand Up @@ -1598,9 +1598,6 @@
<!-- test should be updated -->
<exclude>**/AbstractCheckTest.class</exclude>

<!-- test should be updated -->
<exclude>**/ImportOrderCheckTest.class</exclude>

<!-- tests need to be updated -->
<exclude>**/SuppressWithNearbyCommentFilterTest.class</exclude>

Expand Down
Expand Up @@ -517,9 +517,7 @@ public void testGroupWithSlashes() throws Exception {
checkConfig.addProperty("groups", "/^javax");

try {
final String[] expected = CommonUtil.EMPTY_STRING_ARRAY;

verify(checkConfig, getPath("InputImportOrder5.java"), expected);
execute(checkConfig, getPath("InputImportOrder5.java"));
assertWithMessage("exception expected").fail();
}
catch (CheckstyleException ex) {
Expand Down

0 comments on commit 693ed38

Please sign in to comment.