From 3cf1fd9c97640b5e71cc751e3d2ab66a95fe229e Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Mon, 10 Oct 2016 15:16:07 +0200 Subject: [PATCH] Remove invalid URI formatting test --- tests/Server/TextDocument/FormattingTest.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/Server/TextDocument/FormattingTest.php b/tests/Server/TextDocument/FormattingTest.php index 957f4a6..4d8ef24 100644 --- a/tests/Server/TextDocument/FormattingTest.php +++ b/tests/Server/TextDocument/FormattingTest.php @@ -57,14 +57,4 @@ class FormattingTest extends TestCase 'newText' => $expected ]], json_decode(json_encode($result), true)); } - - public function testFormattingInvalidUri() - { - $client = new LanguageClient(new MockProtocolStream()); - $project = new Project($client); - $textDocument = new Server\TextDocument($project, $client); - - $result = $textDocument->formatting(new TextDocumentIdentifier('whatever'), new FormattingOptions()); - $this->assertSame([], $result); - } }