Skip to content

Commit 8cf734e

Browse files
committed
patch 8.1.0639: text properties test fails on MS-Windows
Problem: text properties test fails on MS-Windows Solution: Set fileformat to "unix".
1 parent 48f88ac commit 8cf734e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/testdir/test_textprop.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ func Test_prop_byteoff()
230230
call prop_type_add('comment', {'highlight': 'Directory'})
231231
new
232232
call setline(1, ['line1', 'line2', ''])
233+
set ff=unix
233234
call assert_equal(13, line2byte(3))
234235
call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
235236
call assert_equal(13, line2byte(3))

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ static char *(features[]) =
799799

800800
static int included_patches[] =
801801
{ /* Add new patch number below this line */
802+
/**/
803+
639,
802804
/**/
803805
638,
804806
/**/

0 commit comments

Comments
 (0)