aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-06-30 22:06:42 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-06-30 22:06:42 +0000
commitc7bdc517ad868dbd964890eb92d055d79343e589 (patch)
tree9cbf464d64fe63d13444a3849fbca58d3ae74b7d
parentb4f089cc497d37947f4d7955c15611886729a35e (diff)
[Author: dmaclach]
Fix up the test case code so that it reports the correct state, and matches OCUnit. R=thomasvl DELTA=1 (0 added, 0 deleted, 1 changed)
-rw-r--r--UnitTesting/GTMSenTestCase.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMSenTestCase.m b/UnitTesting/GTMSenTestCase.m
index a766717..4f4891f 100644
--- a/UnitTesting/GTMSenTestCase.m
+++ b/UnitTesting/GTMSenTestCase.m
@@ -86,7 +86,7 @@
}
NSString *reason = [NSString stringWithFormat:@"'%@' should be %s. %@",
- condition, isTrue ? "TRUE" : "FALSE", testDescription];
+ condition, isTrue ? "false" : "true", testDescription];
return [self failureInFile:filename atLine:lineNumber reason:reason];
}