Updated tests
parent
75e5e249da
commit
6980fb5da7
|
@ -12,4 +12,4 @@ class HelpClass1
|
|||
}
|
||||
|
||||
$a = new HelpClass1;
|
||||
$a->method(1, );
|
||||
$a->method();
|
|
@ -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 = "")';
|
||||
|
|
Loading…
Reference in New Issue