]> granicus.if.org Git - vim/commitdiff
patch 8.2.3350: text properties test fails on MS-Windows v8.2.3350
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 13:04:41 +0000 (15:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 13:04:41 +0000 (15:04 +0200)
Problem:    Text properties test fails on MS-Windows.
Solution:   Set fileformat to unix.

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

index 847968c07588aa43e6584484de6c301a2b5e71ba..6af47e36dcb83fc2e941fd2457456a0b821ccf24 100644 (file)
@@ -812,6 +812,7 @@ func Test_prop_line2byte()
   bwipe!
 
   new
+  setlocal ff=unix
   call setline(1, range(500))
   call assert_equal(1491, line2byte(401))
   call prop_add(2, 1, {'type': 'comment'})
index e177a05087a7a8ed056590c28f02ab32c8f275fc..f7e16365da86e00c825892b7af8af91a8cb16f63 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3350,
 /**/
     3349,
 /**/