diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-13 04:30:22 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2009-03-13 04:30:22 +0000 |
commit | eb030f647c066da594c612db4ba482612842361e (patch) | |
tree | be8671633087ba276cac332fce017744b724eed0 /Foundation/GTMSQLiteTest.m | |
parent | 993a40ed9233e2b250978bcef385154818db3adb (diff) |
[Author: dmaclach]
Fixes up the leaks in the tests.
Sets up the RunMacOSUnitTest script so that it actually works correctly
with respect to enabling leaks.
DELTA=20 (4 added, 3 deleted, 13 changed)
R=thomasvl
Diffstat (limited to 'Foundation/GTMSQLiteTest.m')
-rw-r--r-- | Foundation/GTMSQLiteTest.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Foundation/GTMSQLiteTest.m b/Foundation/GTMSQLiteTest.m index 493493a..5d683c0 100644 --- a/Foundation/GTMSQLiteTest.m +++ b/Foundation/GTMSQLiteTest.m @@ -1776,9 +1776,8 @@ static NSArray* LikeGlobTestHelper(GTMSQLiteDatabase *db, NSString *sql) { @"when statement is no longer needed"; [GTMUnitTestDevLog expectString:expectedLog]; - - STAssertThrows([localPool drain], - @"Failing to clean up database did not throw assertion!"); + [GTMUnitTestDevLog expectPattern:@"Unable to close .*"]; + [localPool drain]; } } |