To: vim_dev@googlegroups.com Subject: Patch 8.2.0575 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0575 Problem: :digraph! not tested. Solution: Add a test. (Dominique Pelle, closes #5925) Files: src/testdir/test_digraph.vim *** ../vim-8.2.0574/src/testdir/test_digraph.vim 2020-04-06 21:35:02.460237781 +0200 --- src/testdir/test_digraph.vim 2020-04-13 19:46:28.868520703 +0200 *************** *** 434,439 **** --- 434,451 ---- call assert_equal('Z% Ж 1046', matchstr(out, '\C\')) call assert_equal('u- ū 363', matchstr(out, '\C\')) call assert_equal('SH ^A 1', matchstr(out, '\C\')) + call assert_notmatch('Latin supplement', out) + + let out_bang_without_custom = execute(':digraph!') + digraph lt 60 + let out_bang_with_custom = execute(':digraph!') + call assert_notmatch('lt', out_bang_without_custom) + call assert_match("^\n" + \ .. "NU ^@ 10 .*\n" + \ .. "Latin supplement\n" + \ .. "!I ¡ 161 .*\n" + \ .. ".*\n" + \ .. 'Custom\n.*\', out_bang_with_custom) bw! endfunc *** ../vim-8.2.0574/src/version.c 2020-04-13 19:04:02.053594029 +0200 --- src/version.c 2020-04-13 19:41:07.641066008 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 575, /**/ -- CART DRIVER: Bring out your dead! There are legs stick out of windows and doors. Two MEN are fighting in the mud - covered from head to foot in it. Another MAN is on his hands in knees shovelling mud into his mouth. We just catch sight of a MAN falling into a well. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///