To: vim_dev@googlegroups.com Subject: Patch 8.0.1631 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1631 Problem: Testing with Vim running in terminal is a bit flaky. Solution: Delete any .swp file so that later tests don't fail. Files: src/testdir/screendump.vim *** ../vim-8.0.1630/src/testdir/screendump.vim 2018-02-24 21:25:25.198496653 +0100 --- src/testdir/screendump.vim 2018-03-10 22:37:21.148672584 +0100 *************** *** 26,31 **** --- 26,35 ---- " " Options is a dictionary (not used yet). func RunVimInTerminal(arguments, options) + " If Vim doesn't exit a swap file remains, causing other tests to fail. + " Remove it here. + call delete(".swp") + " Make a horizontal and vertical split, so that we can get exactly the right " size terminal window. Works only when we currently have one window. call assert_equal(1, winnr('$')) *** ../vim-8.0.1630/src/version.c 2018-03-22 23:03:56.114361979 +0100 --- src/version.c 2018-03-23 20:36:18.847769009 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1631, /**/ -- Don't read everything you believe. /// 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 ///