Skip to content

Commit

Permalink
Add test for jump to module
Browse files Browse the repository at this point in the history
  • Loading branch information
xvw committed Feb 19, 2024
1 parent 0f64255 commit 0263826
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/test-dirs/motion/jump.t
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@
"notifications": []
}

$ $MERLIN single jump -target module -position 2:3 -filename test.ml <<EOF
> module T = struct
> type t
> end
> EOF
{
"class": "return",
"value": {
"pos": {
"line": 1,
"col": 0
}
},
"notifications": []
}



Same line should fail:

$ $MERLIN single jump -target let -position 1:8 -filename test.ml <<EOF
Expand Down

0 comments on commit 0263826

Please sign in to comment.