diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-15 16:35:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-15 16:35:39 +0100 |
commit | 8e15ffcde757ffc6cfe8b5e384948b3278e9af33 (patch) | |
tree | 376d2c5b5e9a1f5f7248f062640f5611bb8accc7 | |
parent | 426dd0219512af5f4abeb0901b533159253ffba3 (diff) |
patch 7.4.1571v7.4.1571
Problem: No test for ":help".
Solution: Add a test for what 7.4.1568 fixed. (Higashi Higashi)
-rw-r--r-- | src/testdir/test_alot.vim | 1 | ||||
-rw-r--r-- | src/testdir/test_help_tagjump.vim | 18 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 21 insertions, 0 deletions
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 @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1571, +/**/ 1570, /**/ 1569, |