aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/extmark_spec.lua
diff options
context:
space:
mode:
authorchentau <tchen1998@gmail.com>2021-01-05 00:39:07 -0800
committerchentau <tchen1998@gmail.com>2021-01-05 00:39:07 -0800
commit61276610243d2afd14df671f164bbfba32bd9d9d (patch)
tree570e7779d7d8b9c69ac202d7ffc8c73d4c273fea /test/functional/api/extmark_spec.lua
parent231f75e086a9d7a6d48e1eefd1789861bd8097bb (diff)
downloadrneovim-61276610243d2afd14df671f164bbfba32bd9d9d.tar.gz
rneovim-61276610243d2afd14df671f164bbfba32bd9d9d.tar.bz2
rneovim-61276610243d2afd14df671f164bbfba32bd9d9d.zip
forgot to update tests
Diffstat (limited to 'test/functional/api/extmark_spec.lua')
-rw-r--r--test/functional/api/extmark_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/api/extmark_spec.lua b/test/functional/api/extmark_spec.lua
index 159b8f7a58..d2b555ee5b 100644
--- a/test/functional/api/extmark_spec.lua
+++ b/test/functional/api/extmark_spec.lua
@@ -1393,8 +1393,8 @@ describe('API/extmarks', function()
it('works with left and right gravity', function()
-- right gravity should move with inserted text, while
-- left gravity should stay in place.
- curbufmeths.set_extmark(ns, 0, 5, {gravity = 'left'})
- curbufmeths.set_extmark(ns, 0, 5, {gravity = 'right'})
+ curbufmeths.set_extmark(ns, 0, 5, {right_gravity = false})
+ curbufmeths.set_extmark(ns, 0, 5, {right_gravity = true})
feed([[Aasdfasdf]])
eq({ {1, 0, 5}, {2, 0, 13} },