diff options
author | Dave MacLachlan <dmaclach@gmail.com> | 2018-11-08 09:52:46 -0800 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2018-11-08 15:43:44 -0500 |
commit | 01b882dad6f7668ed0387147952b63399f97cf19 (patch) | |
tree | 4b231f0a39aa6e4a7890a25486b01eff744ecc1a /Foundation/GTMSQLiteTest.m | |
parent | feecd760fec7c740514d582f8da87ae60eb369d4 (diff) |
Fix up some broken tests.
- Set up stack trace test just so we make sure we don't recurse. Right now it is too tight and breaks on every system release.
- SQLite's behavior is actually undefined in the case of sqlite3_errcode, so don't depend on it in a test.
Diffstat (limited to 'Foundation/GTMSQLiteTest.m')
-rw-r--r-- | Foundation/GTMSQLiteTest.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Foundation/GTMSQLiteTest.m b/Foundation/GTMSQLiteTest.m index 2537dd6..adf687c 100644 --- a/Foundation/GTMSQLiteTest.m +++ b/Foundation/GTMSQLiteTest.m @@ -629,9 +629,6 @@ static void TestUpperLower16Impl(sqlite3_context *context, XCTAssertEqual(err, [db lastErrorCode], @"lastErrorCode API did not match what last API returned!"); - // Calling lastErrorCode resets API error, so the next string will not indicate any error - XCTAssertEqualStrings(@"unknown error", [db lastErrorString], - @"lastErrorString API did not match expected string!"); oneRow = [statement resultStringAtPosition:0]; XCTAssertEqualStrings(oneRow, @"a2", @"a did not come second!"); |