diff options
Diffstat (limited to 'support/texlab/tests/it/snapshots/it__document_symbol__section_flat.snap')
-rw-r--r-- | support/texlab/tests/it/snapshots/it__document_symbol__section_flat.snap | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/support/texlab/tests/it/snapshots/it__document_symbol__section_flat.snap b/support/texlab/tests/it/snapshots/it__document_symbol__section_flat.snap new file mode 100644 index 0000000000..1b8fecce0a --- /dev/null +++ b/support/texlab/tests/it/snapshots/it__document_symbol__section_flat.snap @@ -0,0 +1,61 @@ +--- +source: tests/it/document_symbol.rs +assertion_line: 342 +expression: server.find_document_symbols(uri)? +--- +[ + { + "name": "Foo", + "kind": 2, + "deprecated": false, + "location": { + "uri": "http://www.example.com/main.tex", + "range": { + "start": { + "line": 4, + "character": 0 + }, + "end": { + "line": 4, + "character": 13 + } + } + } + }, + { + "name": "2 Bar", + "kind": 2, + "deprecated": false, + "location": { + "uri": "http://www.example.com/main.tex", + "range": { + "start": { + "line": 6, + "character": 0 + }, + "end": { + "line": 8, + "character": 31 + } + } + } + }, + { + "name": "Baz", + "kind": 2, + "deprecated": false, + "location": { + "uri": "http://www.example.com/main.tex", + "range": { + "start": { + "line": 8, + "character": 0 + }, + "end": { + "line": 8, + "character": 31 + } + } + } + } +] |