diff options
Diffstat (limited to 'support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__float.snap')
-rw-r--r-- | support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__float.snap | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__float.snap b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__float.snap new file mode 100644 index 0000000000..e9bd711c40 --- /dev/null +++ b/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__float.snap @@ -0,0 +1,40 @@ +--- +source: crates/symbols/src/document/tests.rs +expression: "document_symbols(&fixture.workspace, document)" +--- +[ + Symbol { + name: "Figure 1: Foo", + kind: Figure, + label: Some( + Span( + "fig:foo", + 83..98, + ), + ), + full_range: 43..111, + selection_range: 83..98, + children: [], + }, + Symbol { + name: "Figure: Bar", + kind: Figure, + label: Some( + Span( + "fig:bar", + 153..168, + ), + ), + full_range: 113..181, + selection_range: 153..168, + children: [], + }, + Symbol { + name: "Figure: Baz", + kind: Figure, + label: None, + full_range: 183..236, + selection_range: 183..236, + children: [], + }, +] |