forgot to update tests

This commit is contained in:
chentau
2021-01-05 00:39:07 -08:00
parent 231f75e086
commit 6127661024

View File

@@ -1393,8 +1393,8 @@ describe('API/extmarks', function()
it('works with left and right gravity', function() it('works with left and right gravity', function()
-- right gravity should move with inserted text, while -- right gravity should move with inserted text, while
-- left gravity should stay in place. -- left gravity should stay in place.
curbufmeths.set_extmark(ns, 0, 5, {gravity = 'left'}) curbufmeths.set_extmark(ns, 0, 5, {right_gravity = false})
curbufmeths.set_extmark(ns, 0, 5, {gravity = 'right'}) curbufmeths.set_extmark(ns, 0, 5, {right_gravity = true})
feed([[Aasdfasdf]]) feed([[Aasdfasdf]])
eq({ {1, 0, 5}, {2, 0, 13} }, eq({ {1, 0, 5}, {2, 0, 13} },