]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.387 v7.3.387
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 12:09:21 +0000 (13:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 12:09:21 +0000 (13:09 +0100)
Problem:    Test 83 may fail for some encodings.
Solution:   Set 'encoding' to utf-8 earlier.

src/testdir/test83.in
src/version.c

index 09ef0b455fe59f9e4ce0b834c65957de2cdc2e65..297d560d2f29e6feb8247fc92d171e9827841a0a 100644 (file)
@@ -2,12 +2,12 @@ Tests for tag search with !_TAG_FILE_ENCODING.
 
 STARTTEST
 :so mbyte.vim
+:set enc=utf8
 :if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
 : e! test.ok
 : w! test.out
 : qa!
 :endif
-:set enc=utf8
 
 :/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
 :/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
index 3d2d47ab7bfc3b857e6a85e619c9d250dac49c1e..50532c201d78e06d65ea79ac58f74a16c1ee190d 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    387,
 /**/
     386,
 /**/