diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-01 20:32:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-01 20:32:12 +0200 |
commit | 0418811869a64add42b0f2a37eff911dd550eb28 (patch) | |
tree | 5502c5c43093031c3b4cb82307aafc8d3109b477 /src/testdir/test86.in | |
parent | 61602c5bfe7d4a4a0a6671b132f5b98d7d9da424 (diff) | |
download | vim-0418811869a64add42b0f2a37eff911dd550eb28.zip |
updated for version 7.3.1089
Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
Solution: Fix platform-specific stuff. (ZyX)
Diffstat (limited to 'src/testdir/test86.in')
-rw-r--r-- | src/testdir/test86.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testdir/test86.in b/src/testdir/test86.in index 76cab9cca..8569e4241 100644 --- a/src/testdir/test86.in +++ b/src/testdir/test86.in @@ -435,6 +435,7 @@ EOF :py bopts1=vim.buffers[vim.bindeval("g:bufs")[2]].options :py bopts2=vim.buffers[vim.bindeval("g:bufs")[1]].options :py 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 ]] @@ -530,13 +531,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: |