diff src/testdir/test_textprop.vim @ 15261:c5cb5151940d v8.1.0639

patch 8.1.0639: text properties test fails on MS-Windows commit https://github.com/vim/vim/commit/8cf734e024af56707a1165bcdfee42364695ec8e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 26 01:09:00 2018 +0100 patch 8.1.0639: 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 Wed, 26 Dec 2018 01:15:05 +0100
parents 19e79a1ed6b6
children 27783a6f430b
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -230,6 +230,7 @@ func Test_prop_byteoff()
   call prop_type_add('comment', {'highlight': 'Directory'})
   new
   call setline(1, ['line1', 'line2', ''])
+  set ff=unix
   call assert_equal(13, line2byte(3))
   call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
   call assert_equal(13, line2byte(3))