]> granicus.if.org Git - vim/commitdiff
patch 8.1.0639: text properties test fails on MS-Windows v8.1.0639
authorBram Moolenaar <Bram@vim.org>
Wed, 26 Dec 2018 00:09:00 +0000 (01:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 26 Dec 2018 00:09:00 +0000 (01:09 +0100)
Problem:    text properties test fails on MS-Windows
Solution:   Set fileformat to "unix".

src/testdir/test_textprop.vim
src/version.c

index 3ec6ea81dba015e4639aee14ee3abbfff856acd7..ccf7d2846054712a0a99d3419915e6a13bea5137 100644 (file)
@@ -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))
index 5cffe09c870015d199a31f10a09daa93e3471d64..30f28996247d5bd83557fcb894d76139dfe3ba9b 100644 (file)
@@ -799,6 +799,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    639,
 /**/
     638,
 /**/