1
0
Fork 0

More code style fixes

pull/35/head
Felix Becker 2016-10-10 10:48:53 +02:00
parent f1c799159e
commit a43d2b2a0f
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class FormattingTest extends TestCase
public function testFormatting() public function testFormatting()
{ {
$client = new LanguageClient(new MockProtocolStream()); $client = new LanguageClient(new MockProtocolStream());
$project = new Project($client); $project = new Project($client);
$textDocument = new Server\TextDocument($project, $client); $textDocument = new Server\TextDocument($project, $client);
@ -57,11 +57,11 @@ class FormattingTest extends TestCase
public function testFormattingInvalidUri() public function testFormattingInvalidUri()
{ {
$client = new LanguageClient(new MockProtocolStream()); $client = new LanguageClient(new MockProtocolStream());
$project = new Project($client); $project = new Project($client);
$textDocument = new Server\TextDocument($project, $client); $textDocument = new Server\TextDocument($project, $client);
$result = $textDocument->formatting(new TextDocumentIdentifier('whatever'), new FormattingOptions()); $result = $textDocument->formatting(new TextDocumentIdentifier('whatever'), new FormattingOptions());
$this->assertEquals([], json_decode(json_encode($result), true)); $this->assertSame([], $result);
} }
} }