1
0
Fork 0

Fix assertion

pull/270/head
Felix Becker 2017-02-06 11:29:40 +01:00
parent 869d31db6e
commit 34ad734ff0
1 changed files with 12 additions and 10 deletions

View File

@ -443,24 +443,26 @@ class CompletionTest extends TestCase
new Position(4, 8)
)->wait();
$this->assertEquals(new CompletionList([
new CompletionItem(
'$abc',
CompletionItemKind::VARIABLE,
null,
null,
null,
null,
'$abc'
),
new CompletionItem(
'$abc2',
CompletionItemKind::VARIABLE,
'int',
null,
null,
null,
null,
'$abc2'
new TextEdit(new Range(new Position(4, 8), new Position(4, 8)), 'c2')
),
new CompletionItem(
'$abc',
CompletionItemKind::VARIABLE,
'int',
null,
null,
null,
null,
new TextEdit(new Range(new Position(4, 8), new Position(4, 8)), 'c')
)
], true), $items);
}
}