Skip to content

Commit

Permalink
Simplify test case
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoos committed Jan 8, 2025
1 parent f6f9670 commit 2a5b060
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions tests/test-dirs/type-enclosing/503-effects.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
$ cat >main.ml <<'EOF'
> open Effect
> open Effect.Deep
>
> type _ eff += E : unit eff
>
> let () =
Expand All @@ -18,31 +15,31 @@
"notifications": []
}

$ $MERLIN single type-enclosing -position 10:13 \
$ $MERLIN single type-enclosing -position 7:13 \
> -filename main.ml <main.ml | jq '.value[0]'
{
"start": {
"line": 10,
"line": 7,
"col": 13
},
"end": {
"line": 10,
"line": 7,
"col": 14
},
"type": "unit eff",
"tail": "no"
}

The continuation is visible to Merlin
$ $MERLIN single type-enclosing -position 10:16 \
$ $MERLIN single type-enclosing -position 7:16 \
> -filename main.ml <main.ml | jq '.value[0]'
{
"start": {
"line": 10,
"line": 7,
"col": 16
},
"end": {
"line": 10,
"line": 7,
"col": 17
},
"type": "(%eff, int) continuation",
Expand Down

0 comments on commit 2a5b060

Please sign in to comment.