From 946382f871d60ccb41157c21256797542d9dc7b8 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 22 Jan 2013 18:18:47 +0000 Subject: PostgresKit: Add a better test failure message. --- Frameworks/PostgresKit/Tests/PGDataTypeTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Frameworks') 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 -- cgit v1.2.3