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