[Patch] fpcunit: proper error message for CheckNotEquals
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
CheckNotEquals gives the wrong error message - the same as CheckEquals while it should be inverse, e.g:
Failure:
Message: TTestSpecificTDBF.TestIndexClose: DBF stream should have content expected: <0> but was: <0>
Exception class: EAssertionFailedError
Exception message: DBF stream should have content expected: <0> but was: <0>
proper error message should be
TTestSpecificTDBF.TestIndexClose: DBF stream should have content expected: unequal to <0> but was: <0>
Attached patch fixes this; tested checknotequals with int values.
Mantis conversion info:
- Mantis ID: 24433
- OS: Windows
- OS Build: Vista
- Build: 24503
- Platform: x64 (with x86 compiler)
- Version: 2.7.1
- Fixed in version: 2.6.4
- Fixed in revision: 25765 (#13daadd2)
- Target version: 3.0.0