test: completion
This commit is contained in:
parent
40a42128be
commit
d2910337af
2 changed files with 18 additions and 0 deletions
4
tests/lean/interactive/completion7.lean
Normal file
4
tests/lean/interactive/completion7.lean
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#check And
|
||||
--^ textDocument/completion
|
||||
#check And.
|
||||
--^ textDocument/completion
|
||||
14
tests/lean/interactive/completion7.lean.expected.out
Normal file
14
tests/lean/interactive/completion7.lean.expected.out
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{"textDocument": {"uri": "file://completion7.lean"},
|
||||
"position": {"line": 0, "character": 10}}
|
||||
{"items":
|
||||
[{"label": "And", "detail": "Prop → Prop → Prop"},
|
||||
{"label": "AndOp", "detail": "Type u → Type u"},
|
||||
{"label": "AndThen", "detail": "Type u → Type u"}],
|
||||
"isIncomplete": true}
|
||||
{"textDocument": {"uri": "file://completion7.lean"},
|
||||
"position": {"line": 2, "character": 11}}
|
||||
{"items":
|
||||
[{"label": "intro", "detail": "?a → ?b → ?a ∧ ?b"},
|
||||
{"label": "left", "detail": "?a ∧ ?b → ?a"},
|
||||
{"label": "right", "detail": "?a ∧ ?b → ?b"}],
|
||||
"isIncomplete": true}
|
||||
Loading…
Add table
Reference in a new issue