1
0
Fork 0

Split WorkspaceTest

pull/60/merge
Felix Becker 2016-10-09 15:12:54 +02:00
parent 7032f806d4
commit a74bf90d77
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ use LanguageServer\{Server, Client, LanguageClient, Project, PhpDocument};
use LanguageServer\Protocol\{TextDocumentItem, TextDocumentIdentifier, SymbolKind, DiagnosticSeverity, FormattingOptions}; use LanguageServer\Protocol\{TextDocumentItem, TextDocumentIdentifier, SymbolKind, DiagnosticSeverity, FormattingOptions};
use AdvancedJsonRpc\{Request as RequestBody, Response as ResponseBody}; use AdvancedJsonRpc\{Request as RequestBody, Response as ResponseBody};
class WorkspaceTest extends TestCase class SymbolTest extends TestCase
{ {
/** /**
* @var LanguageServer\Workspace $workspace * @var LanguageServer\Workspace $workspace
@ -24,7 +24,7 @@ class WorkspaceTest extends TestCase
// create two documents // create two documents
$project->getDocument('file:///document1.php')->updateContent("<?php\nfunction foo() {}\nfunction bar() {}\n"); $project->getDocument('file:///document1.php')->updateContent("<?php\nfunction foo() {}\nfunction bar() {}\n");
$project->getDocument('file:///document2.php')->updateContent("<?php\nfunction baz() {}\nfunction frob() {}\n"); $project->getDocument('file:///document2.php')->updateContent("<?php\nfunction baz() {}\nfunction frob() {}\n");
} }
public function testSymbol() public function testSymbol()