changeset 22709:ecf0a8d6d4df v8.2.1903

patch 8.2.1903: buffer test fails with normal features Commit: https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 25 16:18:26 2020 +0100 patch 8.2.1903: buffer test fails with normal features Problem: Buffer test fails with normal features. Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Oct 2020 16:30:03 +0100
parents ccca10ddb762
children d54b1d74bd6c
files src/testdir/test_buffer.vim src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_buffer.vim
+++ b/src/testdir/test_buffer.vim
@@ -364,11 +364,11 @@ endfunc
 
 func Test_badd_options()
   new SomeNewBuffer
-  setlocal cole=3
+  setlocal numberwidth=3
   wincmd p
   badd SomeNewBuffer
   new SomeNewBuffer
-  call assert_equal(3, &cole)
+  call assert_equal(3, &numberwidth)
   close
   close
   bwipe! SomeNewBuffer
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1903,
+/**/
     1902,
 /**/
     1901,