1
0
Fork 0

Fix whitespace errors

pull/15/merge
Felix Becker 2016-09-08 21:07:20 +02:00
parent 7138088b4f
commit 72d776d638
1 changed files with 3 additions and 3 deletions

View File

@ -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