diff options
Diffstat (limited to 'src/testdir/test87.in')
-rw-r--r-- | src/testdir/test87.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 838fab888..395fb19b6 100644 --- a/src/testdir/test87.in +++ b/src/testdir/test87.in @@ -404,6 +404,7 @@ EOF :py3 bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options :py3 bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options :py3 bopts3=vim.buffers[vim.bindeval("g:bufs")[0]].options +:set path=.,..,, :let lst=[] :let lst+=[['paste', 1, 0, 1, 2, 1, 1, 0 ]] :let lst+=[['previewheight', 5, 1, 6, 'a', 0, 1, 0 ]] @@ -499,13 +500,14 @@ b[0]='bar' b[0:0]=['baz'] vim.command('call append("$", getbufline(%i, 1, "$"))' % b.number) # Test assigning to name property +import os old_name = cb.name cb.name = 'foo' -cb.append(cb.name[-11:]) +cb.append(cb.name[-11:].replace(os.path.sep, '/')) b.name = 'bar' -cb.append(b.name[-11:]) +cb.append(b.name[-11:].replace(os.path.sep, '/')) cb.name = old_name -cb.append(cb.name[-17:]) +cb.append(cb.name[-17:].replace(os.path.sep, '/')) # Test CheckBuffer for _b in vim.buffers: if _b is not cb: |