summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap')
-rw-r--r--support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap53
1 files changed, 53 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap
new file mode 100644
index 0000000000..9d897532b1
--- /dev/null
+++ b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem_amsthm.snap
@@ -0,0 +1,53 @@
+---
+source: crates/symbols/src/document/tests.rs
+expression: "document_symbols(&fixture.workspace, document)"
+---
+[
+ Symbol {
+ name: "Lemma 1 (Foo)",
+ kind: Theorem,
+ label: Some(
+ Span(
+ "thm:foo",
+ 107..122,
+ ),
+ ),
+ full_range: 89..142,
+ selection_range: 107..122,
+ children: [],
+ },
+ Symbol {
+ name: "Lemma 2",
+ kind: Theorem,
+ label: Some(
+ Span(
+ "thm:bar",
+ 157..172,
+ ),
+ ),
+ full_range: 144..192,
+ selection_range: 157..172,
+ children: [],
+ },
+ Symbol {
+ name: "Lemma",
+ kind: Theorem,
+ label: Some(
+ Span(
+ "thm:baz",
+ 207..222,
+ ),
+ ),
+ full_range: 194..242,
+ selection_range: 207..222,
+ children: [],
+ },
+ Symbol {
+ name: "Lemma (Qux)",
+ kind: Theorem,
+ label: None,
+ full_range: 244..282,
+ selection_range: 244..282,
+ children: [],
+ },
+]