summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap')
-rw-r--r--support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap60
1 files changed, 60 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap
new file mode 100644
index 0000000000..993d046d3d
--- /dev/null
+++ b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap
@@ -0,0 +1,60 @@
+---
+source: crates/symbols/src/workspace/tests.rs
+expression: "workspace_symbols(&fixture.workspace, \"item\")"
+---
+[
+ SymbolLocation {
+ document: Document(
+ "file:///texlab/main.tex",
+ ),
+ symbol: Symbol {
+ name: "1",
+ kind: EnumerationItem,
+ label: Some(
+ Span(
+ "itm:foo",
+ 352..367,
+ ),
+ ),
+ full_range: 347..371,
+ selection_range: 352..367,
+ children: [],
+ },
+ },
+ SymbolLocation {
+ document: Document(
+ "file:///texlab/main.tex",
+ ),
+ symbol: Symbol {
+ name: "2",
+ kind: EnumerationItem,
+ label: Some(
+ Span(
+ "itm:bar",
+ 381..396,
+ ),
+ ),
+ full_range: 376..400,
+ selection_range: 381..396,
+ children: [],
+ },
+ },
+ SymbolLocation {
+ document: Document(
+ "file:///texlab/main.tex",
+ ),
+ symbol: Symbol {
+ name: "3",
+ kind: EnumerationItem,
+ label: Some(
+ Span(
+ "itm:baz",
+ 410..425,
+ ),
+ ),
+ full_range: 405..429,
+ selection_range: 410..425,
+ children: [],
+ },
+ },
+]