Skip to content

Commit

Permalink
Add test for LSP#695 (#1473)
Browse files Browse the repository at this point in the history
from voodoos/tests/lsp695
  • Loading branch information
voodoos authored Jul 7, 2023
2 parents be47f1f + 667e2ac commit 4f6c7cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test-dirs/type-enclosing/issueLSP695.t/main.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(**)
*
10 changes: 10 additions & 0 deletions tests/test-dirs/type-enclosing/issueLSP695.t/run.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FIXME: the file is not empty
$ $MERLIN single document -position 2:0 -filename main.ml <main.ml
{
"class": "failure",
"value": "Empty file",
"notifications": []
}

$ $MERLIN single errors -filename main.ml <main.ml | jq '.value'
"Empty file"

0 comments on commit 4f6c7cf

Please sign in to comment.