Skip to content

Commit

Permalink
tests: update expectations for cursor setting
Browse files Browse the repository at this point in the history
We now use pcall to set the cursor position so out of bounds
settings are ignored.
  • Loading branch information
davvid committed Apr 13, 2024
1 parent 8ce76c3 commit 2125cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/harpoon/test/harpoon_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe("harpoon", function()
col = 3,
}, {
row = 4,
col = 3,
col = 2,
})
end)

Expand All @@ -138,7 +138,7 @@ describe("harpoon", function()
col = 4,
}, {
row = 4,
col = 3,
col = 2,
})
end)

Expand All @@ -148,7 +148,7 @@ describe("harpoon", function()
col = 4,
}, {
row = 4,
col = 3,
col = 2,
})
end)

Expand Down

0 comments on commit 2125cf1

Please sign in to comment.