diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-22 19:40:32 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-22 19:40:32 +0000 |
commit | 5d58d7d2c76741923ae401eafd9a6ba78b0c693f (patch) | |
tree | f426489ca11118d02dd50a214c316bc386514822 | |
parent | dac3db52c5b5d7773d4b7aca1da2b1dbefde5ef6 (diff) | |
download | sequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.tar.gz sequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.tar.bz2 sequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.zip |
PostgresKit: Revert previous change.
-rw-r--r-- | Frameworks/PostgresKit/Tests/PGDataTypeTests.m | 6 |
1 files changed, 3 insertions, 3 deletions
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]); } |