aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-22 19:40:32 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-22 19:40:32 +0000
commit5d58d7d2c76741923ae401eafd9a6ba78b0c693f (patch)
treef426489ca11118d02dd50a214c316bc386514822 /Frameworks/PostgresKit
parentdac3db52c5b5d7773d4b7aca1da2b1dbefde5ef6 (diff)
downloadsequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.tar.gz
sequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.tar.bz2
sequelpro-5d58d7d2c76741923ae401eafd9a6ba78b0c693f.zip
PostgresKit: Revert previous change.
Diffstat (limited to 'Frameworks/PostgresKit')
-rw-r--r--Frameworks/PostgresKit/Tests/PGDataTypeTests.m6
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]);
}