summaryrefslogtreecommitdiff
path: root/support/texlab/tests/it/snapshots/it__completion__latex__citation.snap
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/tests/it/snapshots/it__completion__latex__citation.snap')
-rw-r--r--support/texlab/tests/it/snapshots/it__completion__latex__citation.snap54
1 files changed, 54 insertions, 0 deletions
diff --git a/support/texlab/tests/it/snapshots/it__completion__latex__citation.snap b/support/texlab/tests/it/snapshots/it__completion__latex__citation.snap
new file mode 100644
index 0000000000..af2249cb0a
--- /dev/null
+++ b/support/texlab/tests/it/snapshots/it__completion__latex__citation.snap
@@ -0,0 +1,54 @@
+---
+source: tests/it/completion.rs
+assertion_line: 237
+expression: "complete_and_resolve(&server, tex_uri, 3, 6)?"
+---
+{
+ "isIncomplete": false,
+ "items": [
+ {
+ "label": "bar:2005",
+ "kind": 1,
+ "preselect": false,
+ "sortText": "00 bar:2005 @articlebar:2005",
+ "filterText": "bar:2005 @articlebar:2005",
+ "textEdit": {
+ "range": {
+ "start": {
+ "line": 3,
+ "character": 6
+ },
+ "end": {
+ "line": 3,
+ "character": 6
+ }
+ },
+ "newText": "bar:2005"
+ }
+ },
+ {
+ "label": "foo:2019",
+ "kind": 1,
+ "documentation": {
+ "kind": "markdown",
+ "value": "F. Bar: \"Baz Qux\". (2019)."
+ },
+ "preselect": false,
+ "sortText": "01 foo:2019 @articlefoo:2019 author Foo Bar title Baz Qux year 2019",
+ "filterText": "foo:2019 @articlefoo:2019 author Foo Bar title Baz Qux year 2019",
+ "textEdit": {
+ "range": {
+ "start": {
+ "line": 3,
+ "character": 6
+ },
+ "end": {
+ "line": 3,
+ "character": 6
+ }
+ },
+ "newText": "foo:2019"
+ }
+ }
+ ]
+}