From 46db7df3e95753bc27b2b142bbe4ce006d824843 Mon Sep 17 00:00:00 2001 From: Shashwat Jaiswal Date: Sat, 7 Aug 2021 23:12:18 +0530 Subject: [PATCH] Issue #10548: Migrate to Inline Config Parser in EmptyStatementCheckTest --- pom.xml | 1 - .../checkstyle/checks/coding/EmptyStatementCheckTest.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5ae39c21ee2..74c1c94168d 100644 --- a/pom.xml +++ b/pom.xml @@ -1632,7 +1632,6 @@ **/NoWhitespaceBeforeCaseDefaultColonCheckTest.class - **/EmptyStatementCheckTest.class **/UnnecessarySemicolonInEnumerationCheckTest.class diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/EmptyStatementCheckTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/EmptyStatementCheckTest.java index 72f2a356777..6096f96fcad 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/EmptyStatementCheckTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/checks/coding/EmptyStatementCheckTest.java @@ -59,7 +59,8 @@ public void testEmptyStatements() "86:10: " + getCheckMessage(MSG_KEY), }; - verify(checkConfig, getPath("InputEmptyStatement.java"), expected); + verifyWithInlineConfigParser(checkConfig, + getPath("InputEmptyStatement.java"), expected); } @Test