summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-01 20:32:12 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-01 20:32:12 +0200
commit0418811869a64add42b0f2a37eff911dd550eb28 (patch)
tree5502c5c43093031c3b4cb82307aafc8d3109b477 /src
parent61602c5bfe7d4a4a0a6671b132f5b98d7d9da424 (diff)
downloadvim-git-0418811869a64add42b0f2a37eff911dd550eb28.tar.gz
updated for version 7.3.1089v7.3.1089
Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata) Solution: Fix platform-specific stuff. (ZyX)
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test86.in8
-rw-r--r--src/testdir/test86.ok2
-rw-r--r--src/testdir/test87.in8
-rw-r--r--src/testdir/test87.ok2
-rw-r--r--src/version.c2
5 files changed, 14 insertions, 8 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:
diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok
index 79fb06e60..a98b4459a 100644
--- a/src/testdir/test86.ok
+++ b/src/testdir/test86.ok
@@ -310,7 +310,7 @@ jkl
W: 1:0 2:1 3:0 4:1
B: 1:0 2:1 3:0 4:1
>>> path
- p/gopts1: '.,/usr/include,,'
+ p/gopts1: '.,..,,'
inv: 0! TypeError
p/wopts1! KeyError
inv: 0! KeyError
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:
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok
index 278e77173..569d13f1e 100644
--- a/src/testdir/test87.ok
+++ b/src/testdir/test87.ok
@@ -299,7 +299,7 @@ jkl
W: 1:0 2:1 3:0 4:1
B: 1:0 2:1 3:0 4:1
>>> path
- p/gopts1: b'.,/usr/include,,'
+ p/gopts1: b'.,..,,'
inv: 0! TypeError
p/wopts1! KeyError
inv: 0! KeyError
diff --git a/src/version.c b/src/version.c
index 0427db3f2..c746a54e7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1089,
+/**/
1088,
/**/
1087,