fixed FBSimulatorCrashLogTests

Reviewed By: c-ryan747

Differential Revision: D13301206

fbshipit-source-id: b5970221065b32271390e6c74ac016d07dd8e4d2
This commit is contained in:
Zeyad Salloum 2018-12-04 05:07:12 -08:00 коммит произвёл Facebook Github Bot
Родитель bd8dba94d6
Коммит c5ab5c8540
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -32,7 +32,7 @@
FBApplicationLaunchConfiguration *configuration = [self.tableSearchAppLaunch injectingLibrary:path];
FBApplicationLaunchConfiguration *appLaunch = [configuration withEnvironmentAdditions:@{@"SHIMULATOR_CRASH_AFTER" : @"1"}];
FBFuture<FBCrashLogInfo *> *crashLogFuture = [simulator notifyOfCrash:[FBCrashLogInfo predicateForName:@"TableSearch"]];
FBFuture<FBCrashLogInfo *> *crashLogFuture = [simulator notifyOfCrash:[FBCrashLogInfo predicateForIdentifier:@"TableSearch"]];
NSError *error = nil;
BOOL success = [[simulator launchApplication:appLaunch] await:&error] != nil;