# HG changeset patch # User Bram Moolenaar # Date 1545783305 -3600 # Node ID c5cb5151940d20e23407835f03827f3c48806b2a # Parent 0fa18932d687e63f1a1375d8efcf5fd9e7f0d611 patch 8.1.0639: text properties test fails on MS-Windows commit https://github.com/vim/vim/commit/8cf734e024af56707a1165bcdfee42364695ec8e Author: Bram Moolenaar Date: Wed Dec 26 01:09:00 2018 +0100 patch 8.1.0639: text properties test fails on MS-Windows Problem: text properties test fails on MS-Windows Solution: Set fileformat to "unix". diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim --- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -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)) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 639, +/**/ 638, /**/ 637,