From 72d776d638695d19f94698abf0bd5ea522896979 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Thu, 8 Sep 2016 21:07:20 +0200 Subject: [PATCH] Fix whitespace errors --- tests/Server/TextDocumentTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Server/TextDocumentTest.php b/tests/Server/TextDocumentTest.php index 5cbe470..509f7c4 100644 --- a/tests/Server/TextDocumentTest.php +++ b/tests/Server/TextDocumentTest.php @@ -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