summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0705
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-06-05 22:02:50 -1000
committerSam Bingner <sam@bingner.com>2019-06-05 22:02:50 -1000
commita255618e22152ca2e5fd361a3d0762e9db20dd80 (patch)
tree5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.0705
parent1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff)
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.0705')
-rw-r--r--data/vim/patches/8.1.070564
1 files changed, 64 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0705 b/data/vim/patches/8.1.0705
new file mode 100644
index 000000000..d188ed239
--- /dev/null
+++ b/data/vim/patches/8.1.0705
@@ -0,0 +1,64 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 8.1.0705
+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.0705
+Problem: :colorscheme isn't tested enough
+Solution: Improve test coverage of :colorscheme. (Dominique Pelle, closes
+ #3777) Remove unnecessary sleep.
+Files: src/testdir/test_gui.vim
+
+
+*** ../vim-8.1.0704/src/testdir/test_gui.vim 2018-09-14 21:27:02.775741320 +0200
+--- src/testdir/test_gui.vim 2019-01-08 21:03:52.214110621 +0100
+***************
+*** 42,51 ****
+
+ colorscheme torte
+ redraw!
+- sleep 200m
+ call assert_equal('dark', &background)
+ call assert_equal(1, g:before_colors)
+ call assert_equal(2, g:after_colors)
+
+ exec 'colorscheme' colorscheme_saved
+ augroup TestColors
+--- 42,56 ----
+
+ colorscheme torte
+ redraw!
+ call assert_equal('dark', &background)
+ call assert_equal(1, g:before_colors)
+ call assert_equal(2, g:after_colors)
++ call assert_equal("\ntorte", execute('colorscheme'))
++
++ let a = substitute(execute('hi Search'), "\n\\s\\+", ' ', 'g')
++ call assert_match("\nSearch xxx term=reverse ctermfg=0 ctermbg=12 gui=bold guifg=Black guibg=Red", a)
++
++ call assert_fails('colorscheme does_not_exist', 'E185:')
+
+ exec 'colorscheme' colorscheme_saved
+ augroup TestColors
+*** ../vim-8.1.0704/src/version.c 2019-01-08 20:29:29.339909743 +0100
+--- src/version.c 2019-01-08 21:05:08.905336740 +0100
+***************
+*** 801,802 ****
+--- 801,804 ----
+ { /* Add new patch number below this line */
++ /**/
++ 705,
+ /**/
+
+--
+hundred-and-one symptoms of being an internet addict:
+132. You come back and check this list every half-hour.
+
+ /// 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 ///