implements PLN-0055
This commit is contained in:
@@ -55,10 +55,10 @@ final class LspServiceImplTest {
|
||||
""";
|
||||
|
||||
private static final String SDK_IMPORT_SOURCE = """
|
||||
import { Gfx } from @sdk:gfx;
|
||||
import { Composer } from @sdk:composer;
|
||||
|
||||
fn main() -> void {
|
||||
Gfx.clear();
|
||||
Composer.emit_sprite(1, 0, 0, 0, 0, 0, false, false, 0);
|
||||
}
|
||||
""";
|
||||
|
||||
@@ -180,7 +180,7 @@ final class LspServiceImplTest {
|
||||
|
||||
final var analysis = service.analyzeDocument(new LspAnalyzeDocumentRequest(mainFile));
|
||||
|
||||
assertEquals(List.of("pbs-service", "pbs-service"), semanticKeysForLexeme(analysis, SDK_IMPORT_SOURCE, "Gfx"));
|
||||
assertEquals(List.of("pbs-service", "pbs-service"), semanticKeysForLexeme(analysis, SDK_IMPORT_SOURCE, "Composer"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user