1
0
forked from aniani/vim

updated for version 7.3.1283

Problem:    Test 71 fails on MS-Windows.
Solution:   Put the binary data in a separate file. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2013-07-01 21:00:35 +02:00
parent bd65c46478
commit 72fe56f298
3 changed files with 21 additions and 13 deletions

View File

@@ -1,7 +1,12 @@
Test for encryption.
The test data is in another file to avoid problems with 'encoding', especially
cp932.
STARTTEST
:so small.vim
:set enc=latin1
:bwipe!
:r test71a.in
:/^start of text/+1
:let text_lines = getline('.', line('.') + 2)
:/^start of cm=zip bytes/+1
@@ -60,16 +65,3 @@ barbar
:qa!
ENDTEST
start of text
01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
end of text
start of cm=zip bytes
VimCrypt~01!lV'Þ}Mg ê£V©çE#3Ž2Ué—
end of cm=zip bytes
start of cm=blowfish bytes
VimCrypt~02!k)¾—#ÝSœõ=ºàÈ#¥M´†JÃAÍ¥M´†!€›õáÒ˜÷
Ú

14
src/testdir/test71a.in Normal file
View File

@@ -0,0 +1,14 @@
start of text
01234567890123456789012345678901234567
line 2 foo bar blah
line 3 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
end of text
start of cm=zip bytes
VimCrypt~01!lV'Þ}Mg ê£V©çE#3Ž2Ué—
end of cm=zip bytes
start of cm=blowfish bytes
VimCrypt~02!k)¾—#ÝSœõ=ºàÈ#¥M´†JÃAÍ¥M´†!€›õáÒ˜÷
Ú

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1283,
/**/
1282,
/**/