From a43d2b2a0f7958624368fc5d729fb75b9539b401 Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Mon, 10 Oct 2016 10:48:53 +0200 Subject: [PATCH] More code style fixes --- tests/Server/TextDocument/FormattingTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Server/TextDocument/FormattingTest.php b/tests/Server/TextDocument/FormattingTest.php index 4861d60..0b23753 100644 --- a/tests/Server/TextDocument/FormattingTest.php +++ b/tests/Server/TextDocument/FormattingTest.php @@ -24,7 +24,7 @@ class FormattingTest extends TestCase public function testFormatting() { - $client = new LanguageClient(new MockProtocolStream()); + $client = new LanguageClient(new MockProtocolStream()); $project = new Project($client); $textDocument = new Server\TextDocument($project, $client); @@ -57,11 +57,11 @@ class FormattingTest extends TestCase public function testFormattingInvalidUri() { - $client = new LanguageClient(new MockProtocolStream()); + $client = new LanguageClient(new MockProtocolStream()); $project = new Project($client); $textDocument = new Server\TextDocument($project, $client); $result = $textDocument->formatting(new TextDocumentIdentifier('whatever'), new FormattingOptions()); - $this->assertEquals([], json_decode(json_encode($result), true)); + $this->assertSame([], $result); } }