Patch 8.1.1556
Problem:    The command displayed to show a failing screenshot does not include
            the "testdir" directory.
Solution:   Prefix the directory name so that it can be copy-pasted.
Files:      src/testdir/screendump.vim


*** ../vim-8.1.1555/src/testdir/screendump.vim  2019-05-01 20:30:19.598426336 
+0200
--- src/testdir/screendump.vim  2019-06-16 15:20:08.071610768 +0200
***************
*** 144,150 ****
      if i == 100
        " Leave the failed dump around for inspection.
        if filereadable(reference)
!       let msg = 'See dump file difference: call term_dumpdiff("' . testfile . 
'", "' . reference . '")'
        if a:0 == 1
          let msg = a:1 . ': ' . msg
        endif
--- 144,150 ----
      if i == 100
        " Leave the failed dump around for inspection.
        if filereadable(reference)
!       let msg = 'See dump file difference: call term_dumpdiff("testdir/' .. 
testfile .. '", "testdir/' .. reference .. '")'
        if a:0 == 1
          let msg = a:1 . ': ' . msg
        endif
***************
*** 152,158 ****
          let msg = msg . '; line count is ' . len(testdump) . ' instead of ' . 
len(refdump)
        endif
        else
!       let msg = 'See new dump file: call term_dumpload("' . testfile . '")'
        endif
        for i in range(len(refdump))
        if i >= len(testdump)
--- 152,158 ----
          let msg = msg . '; line count is ' . len(testdump) . ' instead of ' . 
len(refdump)
        endif
        else
!       let msg = 'See new dump file: call term_dumpload("testdir/' .. testfile 
.. '")'
        endif
        for i in range(len(refdump))
        if i >= len(testdump)
*** ../vim-8.1.1555/src/version.c       2019-06-16 15:50:42.016557666 +0200
--- src/version.c       2019-06-16 16:13:37.462961471 +0200
***************
*** 779,780 ****
--- 779,782 ----
  {   /* Add new patch number below this line */
+ /**/
+     1556,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
205. You're constantly yelling at your spouse, family, roommate, whatever,
     for using the phone for stupid things...like talking.

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201906161414.x5GEEdKE028907%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui