Fix whitespace errors
parent
7138088b4f
commit
72d776d638
|
@ -24,7 +24,7 @@ class TextDocumentTest extends TestCase
|
|||
// Request symbols
|
||||
$result = $textDocument->documentSymbol(new TextDocumentIdentifier('whatever'));
|
||||
$this->assertEquals([
|
||||
[
|
||||
[
|
||||
'name' => 'TestNamespace',
|
||||
'kind' => SymbolKind::NAMESPACE,
|
||||
'location' => [
|
||||
|
@ -197,7 +197,7 @@ class TextDocumentTest extends TestCase
|
|||
]]
|
||||
], json_decode(json_encode($args), true));
|
||||
}
|
||||
|
||||
|
||||
public function testFormatting()
|
||||
{
|
||||
$textDocument = new Server\TextDocument(new LanguageClient(new MockProtocolStream()));
|
||||
|
@ -208,7 +208,7 @@ class TextDocumentTest extends TestCase
|
|||
$textDocumentItem->version = 1;
|
||||
$textDocumentItem->text = file_get_contents(__DIR__ . '/../../fixtures/format.php');
|
||||
$textDocument->didOpen($textDocumentItem);
|
||||
|
||||
|
||||
// how code should look after formatting
|
||||
$expected = file_get_contents(__DIR__ . '/../../fixtures/format_expected.php');
|
||||
// Request formatting
|
||||
|
|
Loading…
Reference in New Issue