]> granicus.if.org Git - vim/commitdiff
patch 8.2.3373: text property test fails on MS-Windows v8.2.3373
authorBram Moolenaar <Bram@vim.org>
Wed, 25 Aug 2021 15:02:00 +0000 (17:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 25 Aug 2021 15:02:00 +0000 (17:02 +0200)
Problem:    text property test fails on MS-Windows.
Solution:   Set fileformat to "unix"

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

index f21fd40488ed1603b797dc298c3ee1bdeb6480c8..4b587846935293976acf236002f42b870626e810 100644 (file)
@@ -858,6 +858,7 @@ func Test_prop_line2byte()
   bwipe!
 
   new
+  setlocal ff=unix
   call setline(1, range(520))
   call assert_equal(1491, line2byte(401))
   call prop_add(2, 1, {'type': 'comment'})
index 1f9a2701605f38bcdeee0eaeaeaf221d3c04f1dc..9a1281f6f340152cbf41262d1efa30405d8aa575 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3373,
 /**/
     3372,
 /**/