comparison src/testdir/test83.in @ 3235:ac16c62282ac v7.3.387

updated for version 7.3.387 Problem: Test 83 may fail for some encodings. Solution: Set 'encoding' to utf-8 earlier.
author Bram Moolenaar <bram@vim.org>
date Fri, 30 Dec 2011 13:09:21 +0100
parents 1cedbee50ca6
children bc269cf15ccd
comparison
equal deleted inserted replaced
3234:a96cb758a8d7 3235:ac16c62282ac
1 Tests for tag search with !_TAG_FILE_ENCODING. 1 Tests for tag search with !_TAG_FILE_ENCODING.
2 2
3 STARTTEST 3 STARTTEST
4 :so mbyte.vim 4 :so mbyte.vim
5 :set enc=utf8
5 :if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21" 6 :if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
6 : e! test.ok 7 : e! test.ok
7 : w! test.out 8 : w! test.out
8 : qa! 9 : qa!
9 :endif 10 :endif
10 :set enc=utf8
11 11
12 :/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt 12 :/^text for tags1$/,/^text for tags1$/+1w! Xtags1.txt
13 :/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt 13 :/^text for tags2$/,/^text for tags2$/+1w! Xtags2.txt
14 :/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt 14 :/^text for tags3$/,/^text for tags3$/+1w! Xtags3.txt
15 :/^tags1$/+1,/^tags1-end$/-1w! Xtags1 15 :/^tags1$/+1,/^tags1-end$/-1w! Xtags1