diff --git a/pmd/regress/test/net/sourceforge/pmd/testframework/RuleTst.java b/pmd/regress/test/net/sourceforge/pmd/testframework/RuleTst.java index 276e0c1435..c199150e27 100644 --- a/pmd/regress/test/net/sourceforge/pmd/testframework/RuleTst.java +++ b/pmd/regress/test/net/sourceforge/pmd/testframework/RuleTst.java @@ -84,7 +84,7 @@ public abstract class RuleTst { t.printStackTrace(); throw new RuntimeException("Test \"" + test.getDescription() + "\" on Rule \"" + test.getRule().getName() + "\"failed"); } - assertEquals("\"" + test.getDescription() + "\" test resulted in wrong number of failures,", + assertEquals("Test \"" + test.getDescription() + "\" on Rule \"" + test.getRule().getName() + "\" resulted in wrong number of failures,", test.getNumberOfProblemsExpected(), res); } finally { //Restore old properties