Patch 8.1.0175
Problem:    Marks test fails in very wide window. (Vladimir Lomov)
Solution:   Extend the text to match 'columns'. (closes #3180, closes #3181)
Files:      src/testdir/test_marks.vim


*** ../vim-8.1.0174/src/testdir/test_marks.vim  Sun Jul  8 17:57:30 2018
--- src/testdir/test_marks.vim  Tue Jul 10 15:18:04 2018
***************
*** 126,140 ****
      return
    endif
    new Xone
!   call setline(1, 
['ááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááááá'])
    norm! ma
  
    let a = split(execute('marks a'), "\n")
    call assert_equal(2, len(a))
!   let expected = ' a      1    0 '
!   while strwidth(expected) < &columns - 1
!     let expected .= 'á'
!   endwhile
    call assert_equal(expected, a[1])
  
    bwipe!
--- 126,137 ----
      return
    endif
    new Xone
!   call setline(1, [repeat('á', &columns)])
    norm! ma
  
    let a = split(execute('marks a'), "\n")
    call assert_equal(2, len(a))
!   let expected = ' a      1    0 ' . repeat('á', &columns - 16)
    call assert_equal(expected, a[1])
  
    bwipe!
*** ../vim-8.1.0174/src/version.c       Tue Jul 10 15:07:11 2018
--- src/version.c       Tue Jul 10 15:14:07 2018
***************
*** 791,792 ****
--- 791,794 ----
  {   /* Add new patch number below this line */
+ /**/
+     175,
  /**/

-- 
Your fault: core dumped

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui