From 410d902956ed39e740657d59db926839828afc51 Mon Sep 17 00:00:00 2001 From: Xavier Le Vourch Date: Wed, 24 Oct 2007 20:11:15 +0000 Subject: [PATCH] rule name added to assert message git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5577 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd/regress/test/net/sourceforge/pmd/testframework/RuleTst.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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