summaryrefslogtreecommitdiff
path: root/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap')
-rw-r--r--support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap103
1 files changed, 103 insertions, 0 deletions
diff --git a/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap b/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap
new file mode 100644
index 0000000000..061fc93c95
--- /dev/null
+++ b/support/texlab/crates/texlab/tests/lsp/text_document/snapshots/lsp__text_document__document_symbol__smoke.snap
@@ -0,0 +1,103 @@
+---
+source: crates/texlab/tests/lsp/text_document/document_symbol.rs
+expression: symbols
+---
+[
+ DocumentSymbol {
+ name: "Foo",
+ detail: None,
+ kind: Module,
+ tags: None,
+ deprecated: Some(
+ false,
+ ),
+ range: Range {
+ start: Position {
+ line: 0,
+ character: 0,
+ },
+ end: Position {
+ line: 0,
+ character: 30,
+ },
+ },
+ selection_range: Range {
+ start: Position {
+ line: 0,
+ character: 0,
+ },
+ end: Position {
+ line: 0,
+ character: 30,
+ },
+ },
+ children: Some(
+ [
+ DocumentSymbol {
+ name: "Bar",
+ detail: None,
+ kind: Module,
+ tags: None,
+ deprecated: Some(
+ false,
+ ),
+ range: Range {
+ start: Position {
+ line: 0,
+ character: 14,
+ },
+ end: Position {
+ line: 0,
+ character: 30,
+ },
+ },
+ selection_range: Range {
+ start: Position {
+ line: 0,
+ character: 14,
+ },
+ end: Position {
+ line: 0,
+ character: 30,
+ },
+ },
+ children: Some(
+ [],
+ ),
+ },
+ ],
+ ),
+ },
+ DocumentSymbol {
+ name: "Baz",
+ detail: None,
+ kind: Module,
+ tags: None,
+ deprecated: Some(
+ false,
+ ),
+ range: Range {
+ start: Position {
+ line: 0,
+ character: 31,
+ },
+ end: Position {
+ line: 0,
+ character: 44,
+ },
+ },
+ selection_range: Range {
+ start: Position {
+ line: 0,
+ character: 31,
+ },
+ end: Position {
+ line: 0,
+ character: 44,
+ },
+ },
+ children: Some(
+ [],
+ ),
+ },
+]