diff src/testdir/test_textprop.vim @ 25628:0407a3db3ef6 v8.2.3350

patch 8.2.3350: text properties test fails on MS-Windows Commit: https://github.com/vim/vim/commit/a401bba0805856e295c213aa504648084dae7e24 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 15 15:04:41 2021 +0200 patch 8.2.3350: text properties test fails on MS-Windows Problem: Text properties test fails on MS-Windows. Solution: Set fileformat to unix.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Aug 2021 15:15:03 +0200
parents 0ef8ef1af478
children 78ef12e0ce8c
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -812,6 +812,7 @@ func Test_prop_line2byte()
   bwipe!
 
   new
+  setlocal ff=unix
   call setline(1, range(500))
   call assert_equal(1491, line2byte(401))
   call prop_add(2, 1, {'type': 'comment'})