To: vim_dev@googlegroups.com Subject: Patch 7.4.2155 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2155 Problem: Quotes make GUI test fail on MS-Windows. Solution: Remove quotes, strip white space. Files: src/testdir/test_gui.vim *** ../vim-7.4.2154/src/testdir/test_gui.vim 2016-08-04 20:05:35.935253358 +0200 --- src/testdir/test_gui.vim 2016-08-04 21:18:38.207223289 +0200 *************** *** 21,28 **** func Test_shell_command() new ! r !echo 'hello' ! call assert_equal('hello', getline(2)) bwipe! call assert_true(1, match(execute('winpos'), 'Window position: X \d\+, Y \d\+') >= 0) endfunc --- 21,28 ---- func Test_shell_command() new ! r !echo hello ! call assert_equal('hello', substitute(getline(2), '\W', '', 'g')) bwipe! call assert_true(1, match(execute('winpos'), 'Window position: X \d\+, Y \d\+') >= 0) endfunc *** ../vim-7.4.2154/src/version.c 2016-08-04 21:11:28.623170452 +0200 --- src/version.c 2016-08-04 21:19:25.982784589 +0200 *************** *** 765,766 **** --- 765,768 ---- { /* Add new patch number below this line */ + /**/ + 2155, /**/ -- I used to wonder about the meaning of life. But I looked it up in the dictionary under "L" and there it was - the meaning of life. It was less than I expected. - Dogbert /// 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 ///