Skip to content

Commit 2fbca5b

Browse files
committed
tests: Update tests to neovim changes
1 parent 66617ca commit 2fbca5b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/test_buffer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ def test_append():
123123
vim.current.buffer.append('a')
124124
eq(vim.current.buffer[:], ['', 'a'])
125125
vim.current.buffer.append('b', 0)
126-
eq(vim.current.buffer[:], ['', 'b', 'a'])
126+
eq(vim.current.buffer[:], ['b', '', 'a'])
127127
vim.current.buffer.append(['c', 'd'])
128-
eq(vim.current.buffer[:], ['', 'b', 'a', 'c', 'd'])
128+
eq(vim.current.buffer[:], ['b', '', 'a', 'c', 'd'])
129129
vim.current.buffer.append(['c', 'd'], 2)
130-
eq(vim.current.buffer[:], ['', 'b', 'a', 'c', 'd', 'c', 'd'])
130+
eq(vim.current.buffer[:], ['b', '', 'c', 'd', 'a', 'c', 'd'])
131131

132132

133133
@with_setup(setup=cleanup)

test/test_vim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def test_vars():
100100

101101
@with_setup(setup=cleanup)
102102
def test_options():
103-
eq(vim.options['listchars'], 'eol:$')
103+
eq(vim.options['listchars'], 'tab:> ,trail:-,nbsp:+')
104104
vim.options['listchars'] = 'tab:xy'
105105
eq(vim.options['listchars'], 'tab:xy')
106106

0 commit comments

Comments
 (0)