diff options
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]; } } |