summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap')
-rw-r--r--support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap24
1 files changed, 24 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap
new file mode 100644
index 0000000000..412e7c14d2
--- /dev/null
+++ b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_figure.snap
@@ -0,0 +1,24 @@
+---
+source: crates/symbols/src/workspace/tests.rs
+expression: "workspace_symbols(&fixture.workspace, \"figure\")"
+---
+[
+ SymbolLocation {
+ document: Document(
+ "file:///texlab/main.tex",
+ ),
+ symbol: Symbol {
+ name: "Figure 1: Bar",
+ kind: Figure,
+ label: Some(
+ Span(
+ "fig:bar",
+ 265..280,
+ ),
+ ),
+ full_range: 220..293,
+ selection_range: 265..280,
+ children: [],
+ },
+ },
+]