comparison src/testdir/test_source_utf8.vim @ 18736:97d534e17874 v8.1.2358

patch 8.1.2358: tests fail on Cirrus CI for FreeBSD Commit: https://github.com/vim/vim/commit/9134f1ecd41207045db3cb47f0269497980395ad Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 29 20:26:13 2019 +0100 patch 8.1.2358: tests fail on Cirrus CI for FreeBSD Problem: Tests fail on Cirrus CI for FreeBSD. Solution: Fix a test and skip some. (Christian Brabandt, closes https://github.com/vim/vim/issues/5281)
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 Nov 2019 20:30:05 +0100
parents 2dcaa860e3fc
children ac3f5096f438
comparison
equal deleted inserted replaced
18735:802cf4ddafb6 18736:97d534e17874
1 " Test the :source! command 1 " Test the :source! command
2 source check.vim
2 3
3 func Test_source_utf8() 4 func Test_source_utf8()
4 " check that sourcing a script with 0x80 as second byte works 5 " check that sourcing a script with 0x80 as second byte works
6 " does not work correctly on BSD
7 CheckNotBSD
5 new 8 new
6 call setline(1, [':%s/àx/--à1234--/g', ':%s/Àx/--À1234--/g']) 9 call setline(1, [':%s/àx/--à1234--/g', ':%s/Àx/--À1234--/g'])
7 write! Xscript 10 write! Xscript
8 bwipe! 11 bwipe!
9 new 12 new
29 call delete('Xscript') 32 call delete('Xscript')
30 endfunc 33 endfunc
31 34
32 " Test for sourcing a file with CTRL-V's at the end of the line 35 " Test for sourcing a file with CTRL-V's at the end of the line
33 func Test_source_ctrl_v() 36 func Test_source_ctrl_v()
37 CheckNotBSD
34 call writefile(['map __1 afirst', 38 call writefile(['map __1 afirst',
35 \ 'map __2 asecond', 39 \ 'map __2 asecond',
36 \ 'map __3 athird', 40 \ 'map __3 athird',
37 \ 'map __4 afourth', 41 \ 'map __4 afourth',
38 \ 'map __5 afifth', 42 \ 'map __5 afifth',