diff 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
line wrap: on
line diff
--- a/src/testdir/test_source_utf8.vim
+++ b/src/testdir/test_source_utf8.vim
@@ -1,7 +1,10 @@
 " Test the :source! command
+source check.vim
 
 func Test_source_utf8()
   " check that sourcing a script with 0x80 as second byte works
+  " does not work correctly on BSD
+  CheckNotBSD
   new
   call setline(1, [':%s/àx/--à1234--/g', ':%s/Àx/--À1234--/g'])
   write! Xscript
@@ -31,6 +34,7 @@ endfunc
 
 " Test for sourcing a file with CTRL-V's at the end of the line
 func Test_source_ctrl_v()
+    CheckNotBSD
     call writefile(['map __1 afirst',
 		\ 'map __2 asecond',
 		\ 'map __3 athird',