From: Bram Moolenaar Date: Tue, 15 Mar 2016 15:35:39 +0000 (+0100) Subject: patch 7.4.1571 X-Git-Tag: v7.4.1571 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e15ffcde757ffc6cfe8b5e384948b3278e9af33;p=thirdparty%2Fvim.git patch 7.4.1571 Problem: No test for ":help". Solution: Add a test for what 7.4.1568 fixed. (Higashi Higashi) --- diff --git a/src/testdir/test_alot.vim b/src/testdir/test_alot.vim index 55502bae6c..f4a1450319 100644 --- a/src/testdir/test_alot.vim +++ b/src/testdir/test_alot.vim @@ -9,6 +9,7 @@ source test_expand.vim source test_feedkeys.vim source test_file_perm.vim source test_glob2regpat.vim +source test_help_tagjump.vim source test_join.vim source test_lispwords.vim source test_menu.vim diff --git a/src/testdir/test_help_tagjump.vim b/src/testdir/test_help_tagjump.vim new file mode 100644 index 0000000000..d1e9ad422b --- /dev/null +++ b/src/testdir/test_help_tagjump.vim @@ -0,0 +1,18 @@ +" Tests for :help! {subject} + +func Test_help_tagjump() + help + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ '\*help.txt\*') + helpclose + + exec "help! ('textwidth'" + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ "\\*'textwidth'\\*") + helpclose + + exec "help! ('buflisted')," + call assert_equal("help", &filetype) + call assert_true(getline('.') =~ "\\*'buflisted'\\*") + helpclose +endfunc diff --git a/src/version.c b/src/version.c index f6b1f3baa8..944ffea316 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1571, /**/ 1570, /**/