[Mockpp-commits] mockpp/mockpp ExpectationList.h,1.36,1.37
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-04-06 20:11:37
|
Update of /cvsroot/mockpp/mockpp/mockpp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8978/mockpp Modified Files: ExpectationList.h Log Message: improved error message Index: ExpectationList.h =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/ExpectationList.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- ExpectationList.h 27 Feb 2005 11:48:14 -0000 1.36 +++ ExpectationList.h 6 Apr 2005 20:11:28 -0000 1.37 @@ -240,8 +240,8 @@ MOCKPP_ASSERT_TRUE_MESSAGE(fmt, expectedItems.size() >= size); - fmt = i18n(MOCKPP_PCHAR("%1 added item does not match. %2 != %3.")); - fmt << this->getVerifiableName() << expectedItems[(size - 1)] << actualItem; + fmt = i18n(MOCKPP_PCHAR("%1 added item[%2] does not match. %3 != %4.")); + fmt << this->getVerifiableName() << size << expectedItems[(size - 1)] << actualItem; assertEquals(fmt, actualItem, expectedItems[(size - 1)]); } |