From 5d58d7d2c76741923ae401eafd9a6ba78b0c693f Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 22 Jan 2013 19:40:32 +0000 Subject: PostgresKit: Revert previous change. --- Frameworks/PostgresKit/Tests/PGDataTypeTests.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Frameworks/PostgresKit/Tests') diff --git a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m index 4e9d513a..629ec32a 100644 --- a/Frameworks/PostgresKit/Tests/PGDataTypeTests.m +++ b/Frameworks/PostgresKit/Tests/PGDataTypeTests.m @@ -70,8 +70,8 @@ static NSUInteger PGTestDatabasePort = 5432; [self _addTestForField:@"bool" withExpectedResult:[NSNumber numberWithInteger:1] connection:connection toTestSuite:testSuite]; [self _addTestForField:@"float" withExpectedResult:[NSNumber numberWithFloat:12345.678] connection:connection toTestSuite:testSuite]; [self _addTestForField:@"numeric" withExpectedResult:[NSNumber numberWithDouble:12345.678] connection:connection toTestSuite:testSuite]; - [self _addTestForField:@"char" withExpectedResult:[NSString stringWithString:@"CHAR"] connection:connection toTestSuite:testSuite]; - [self _addTestForField:@"varchar" withExpectedResult:[NSString stringWithString:@"VARCHAR"] connection:connection toTestSuite:testSuite]; + [self _addTestForField:@"char" withExpectedResult:@"CHAR" connection:connection toTestSuite:testSuite]; + [self _addTestForField:@"varchar" withExpectedResult:@"VARCHAR" connection:connection toTestSuite:testSuite]; //[self _addTestForField:@"date" withExpectedResult: connection:connection toTestSuite:testSuite]; //[self _addTestForField:@"time" withExpectedResult: connection:connection toTestSuite:testSuite]; //[self _addTestForField:@"timetz" withExpectedResult: connection:connection toTestSuite:testSuite]; @@ -118,7 +118,7 @@ static NSUInteger PGTestDatabasePort = 5432; } - (void)testResultIsOfCorrectType -{ +{ STAssertEquals([_result class], [_expectedResult class], @"Expected _result to be of type %@, but is actually %@", [_expectedResult className], [_result className]); } -- cgit v1.2.3