diff options
Diffstat (limited to 'support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap')
-rw-r--r-- | support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap new file mode 100644 index 0000000000..4cf0cb5fe2 --- /dev/null +++ b/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap @@ -0,0 +1,78 @@ +--- +source: crates/symbols/src/workspace/tests.rs +expression: "workspace_symbols(&fixture.workspace, \"section\")" +--- +[ + SymbolLocation { + document: Document( + "file:///texlab/main.tex", + ), + symbol: Symbol { + name: "1 Foo", + kind: Section, + label: Some( + Span( + "sec:foo", + 118..133, + ), + ), + full_range: 105..188, + selection_range: 118..133, + children: [], + }, + }, + SymbolLocation { + document: Document( + "file:///texlab/main.tex", + ), + symbol: Symbol { + name: "2 Bar", + kind: Section, + label: Some( + Span( + "sec:bar", + 203..218, + ), + ), + full_range: 190..293, + selection_range: 203..218, + children: [], + }, + }, + SymbolLocation { + document: Document( + "file:///texlab/main.tex", + ), + symbol: Symbol { + name: "3 Baz", + kind: Section, + label: Some( + Span( + "sec:baz", + 308..323, + ), + ), + full_range: 295..445, + selection_range: 308..323, + children: [], + }, + }, + SymbolLocation { + document: Document( + "file:///texlab/main.tex", + ), + symbol: Symbol { + name: "4 Qux", + kind: Section, + label: Some( + Span( + "sec:qux", + 460..475, + ), + ), + full_range: 447..557, + selection_range: 460..475, + children: [], + }, + }, +] |