1
0
Fork 0

Updated tests

pull/250/head
Ivan Bozhanov 2017-01-20 17:47:18 +02:00
parent 75e5e249da
commit 6980fb5da7
2 changed files with 2 additions and 4 deletions

View File

@ -12,4 +12,4 @@ class HelpClass1
}
$a = new HelpClass1;
$a->method(1, );
$a->method();

View File

@ -72,13 +72,11 @@ class SignatureHelpTest extends TestCase
$this->loader->open($completionUri, file_get_contents($completionUri));
$result = $this->textDocument->signatureHelp(
new TextDocumentIdentifier($completionUri),
new Position(14, 14)
new Position(14, 11)
)->wait();
$help = new SignatureHelp;
$help->signatures = [];
$help->activeSignature = 0;
$help->activeParameter = 1;
$info = new SignatureInformation;
$help->signatures[] = $info;
$info->label = 'method(string $param = "")';