mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.1.0639: text properties test fails on MS-Windows
Problem: text properties test fails on MS-Windows Solution: Set fileformat to "unix".
This commit is contained in:
@@ -230,6 +230,7 @@ func Test_prop_byteoff()
|
|||||||
call prop_type_add('comment', {'highlight': 'Directory'})
|
call prop_type_add('comment', {'highlight': 'Directory'})
|
||||||
new
|
new
|
||||||
call setline(1, ['line1', 'line2', ''])
|
call setline(1, ['line1', 'line2', ''])
|
||||||
|
set ff=unix
|
||||||
call assert_equal(13, line2byte(3))
|
call assert_equal(13, line2byte(3))
|
||||||
call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
|
call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
|
||||||
call assert_equal(13, line2byte(3))
|
call assert_equal(13, line2byte(3))
|
||||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
639,
|
||||||
/**/
|
/**/
|
||||||
638,
|
638,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user