summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-05-07 03:01:42 +0000
committerNorbert Preining <norbert@preining.info>2023-05-07 03:01:42 +0000
commite2a7938bcd22a142fa92c5c5d91f038f7ae73231 (patch)
tree93e20c35b061ab13d971c4333d535243a076eece /support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__equation.snap
parent507fa9c669d7e4bc2c808f269113c6ced0b18827 (diff)
CTAN sync 202305070301
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: [],
+ },
+]