diff src/testdir/test_textprop.vim @ 25674:1d14b5d3de17 v8.2.3373

patch 8.2.3373: text property test fails on MS-Windows Commit: https://github.com/vim/vim/commit/49b93049c68653156609ebcdf22311ccbcdf00e2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 25 17:02:00 2021 +0200 patch 8.2.3373: text property test fails on MS-Windows Problem: text property test fails on MS-Windows. Solution: Set fileformat to "unix"
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Aug 2021 17:15:04 +0200
parents ab42c36d1a27
children 685206b54ecf
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -858,6 +858,7 @@ func Test_prop_line2byte()
   bwipe!
 
   new
+  setlocal ff=unix
   call setline(1, range(520))
   call assert_equal(1491, line2byte(401))
   call prop_add(2, 1, {'type': 'comment'})