Permalink
Browse files

IDENTICAL wird nicht nur für Objekte verwendet.

Ggf. kann man da mal eine Spezialversion von bauen.
  • Loading branch information...
1 parent 1dd83de commit 2ad236a6c45f5df4eff0afd6c82f734b61dfdd37 @toaster committed Feb 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/TTestCase.m
View
4 src/TTestCase.m
@@ -291,8 +291,8 @@ - (void)_assert: obj1 isIdenticalTo: obj2
file: (const char *)file line: (int)line
{
if (obj1 != obj2) {
- @throw [TTestException exceptionAt: file : line withMessage: [self assertionMessage:
- @"%@(%p) is not identical to %@(%p)", obj1, obj1, obj2, obj2]];
+ @throw [TTestException exceptionAt: file : line
+ withMessage: [self assertionMessage: @"%p is not identical to %p", obj1, obj2]];
}
}

0 comments on commit 2ad236a

Please sign in to comment.