summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap')
-rw-r--r--support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap40
1 files changed, 40 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap
new file mode 100644
index 0000000000..0e284c1d71
--- /dev/null
+++ b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap
@@ -0,0 +1,40 @@
+---
+source: crates/symbols/src/document/tests.rs
+expression: "document_symbols(&fixture.workspace, document)"
+---
+[
+ Symbol {
+ name: "Equation (1)",
+ kind: Equation,
+ label: Some(
+ Span(
+ "eq:foo",
+ 59..73,
+ ),
+ ),
+ full_range: 43..96,
+ selection_range: 59..73,
+ children: [],
+ },
+ Symbol {
+ name: "Equation",
+ kind: Equation,
+ label: Some(
+ Span(
+ "eq:bar",
+ 114..128,
+ ),
+ ),
+ full_range: 98..151,
+ selection_range: 114..128,
+ children: [],
+ },
+ Symbol {
+ name: "Equation",
+ kind: Equation,
+ label: None,
+ full_range: 153..192,
+ selection_range: 153..192,
+ children: [],
+ },
+]