diff options
author | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
commit | a255618e22152ca2e5fd361a3d0762e9db20dd80 (patch) | |
tree | 5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.0981 | |
parent | 1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff) |
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.0981')
-rw-r--r-- | data/vim/patches/8.1.0981 | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0981 b/data/vim/patches/8.1.0981 new file mode 100644 index 000000000..fc3724e5e --- /dev/null +++ b/data/vim/patches/8.1.0981 @@ -0,0 +1,59 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0981 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0981 +Problem: Pasting in terminal insufficiently tested. +Solution: Add more tests. (Dominique Pelle, closes #4040) +Files: src/testdir/test_terminal.vim + + +*** ../vim-8.1.0980/src/testdir/test_terminal.vim 2019-02-22 17:56:02.787842436 +0100 +--- src/testdir/test_terminal.vim 2019-02-25 06:09:32.174944867 +0100 +*************** +*** 82,87 **** +--- 82,102 ---- + unlet g:job + endfunc + ++ func Test_terminal_paste_register() ++ let @" = "text to paste" ++ ++ let buf = Run_shell_in_terminal({}) ++ " Wait for the shell to display a prompt ++ call WaitForAssert({-> assert_notequal('', term_getline(buf, 1))}) ++ ++ call feedkeys("echo \<C-W>\"\" \<C-W>\"=37 + 5\<CR>\<CR>", 'xt') ++ call WaitForAssert({-> assert_match("echo text to paste 42$", getline(1))}) ++ call WaitForAssert({-> assert_equal('text to paste 42', getline(2))}) ++ ++ exe buf . 'bwipe!' ++ unlet g:job ++ endfunc ++ + func Test_terminal_wipe_buffer() + let buf = Run_shell_in_terminal({}) + call assert_fails(buf . 'bwipe', 'E517') +*** ../vim-8.1.0980/src/version.c 2019-02-25 05:56:04.444553044 +0100 +--- src/version.c 2019-02-25 06:10:59.082334313 +0100 +*************** +*** 781,782 **** +--- 781,784 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 981, + /**/ + +-- +Don't Panic! + -- The Hitchhiker's Guide to the Galaxy + + /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 /// |