1
0
Fork 0

Correct file number in init test

pull/165/head
Felix Becker 2016-11-23 00:13:30 +01:00
parent c4323c66aa
commit e4e4e3f050
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class LanguageServerTest extends TestCase
if ($msg->body->method === 'window/logMessage' && $promise->state === Promise::PENDING) {
if ($msg->body->params->type === MessageType::ERROR) {
$promise->reject(new Exception($msg->body->params->message));
} else if (strpos($msg->body->params->message, 'All 12 PHP files parsed') !== false) {
} else if (strpos($msg->body->params->message, 'All 21 PHP files parsed') !== false) {
$promise->fulfill();
}
}
@ -109,7 +109,7 @@ class LanguageServerTest extends TestCase
if ($promise->state === Promise::PENDING) {
$promise->reject(new Exception($msg->body->params->message));
}
} else if (strpos($msg->body->params->message, 'All 12 PHP files parsed') !== false) {
} else if (strpos($msg->body->params->message, 'All 21 PHP files parsed') !== false) {
// Indexing finished
$promise->fulfill();
}