diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-22 18:18:47 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-22 18:18:47 +0000 |
commit | 946382f871d60ccb41157c21256797542d9dc7b8 (patch) | |
tree | 1cd84f7ae3ea2b1a646c5fc8c0e0d2d8cef12fe1 /Frameworks/PostgresKit | |
parent | 0b698d969edb192a20e3c6b4e53728e732dbecde (diff) | |
download | sequelpro-946382f871d60ccb41157c21256797542d9dc7b8.tar.gz sequelpro-946382f871d60ccb41157c21256797542d9dc7b8.tar.bz2 sequelpro-946382f871d60ccb41157c21256797542d9dc7b8.zip |
PostgresKit: Add a better test failure message.
Diffstat (limited to 'Frameworks/PostgresKit')
-rw-r--r-- | Frameworks/PostgresKit/Tests/PGDataTypeTests.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m index c9f70772..ac1133bb 100644 --- a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m +++ b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m @@ -119,7 +119,7 @@ static NSUInteger PGTestDatabasePort = 5432; - (void)testResultIsOfCorrectType { - STAssertTrue([_result isKindOfClass:[_expectedResult class]], @""); + STAssertTrue([_result isKindOfClass:[_expectedResult class]], @"Expected _result to be of type %@, but is actually %@", [_expectedResult className], [_result className]); } - (void)testResultHasCorrectValue |