Patch 7.4.1571
Problem:    No test for ":help".
Solution:   Add a test for what 7.4.1568 fixed. (Higashi Higashi)
Files:      src/testdir/test_alot.vim, src/testdir/test_help_tagjump.vim


*** ../vim-7.4.1570/src/testdir/test_alot.vim   2016-03-14 23:04:49.702923020 
+0100
--- src/testdir/test_alot.vim   2016-03-15 16:27:28.073187180 +0100
***************
*** 9,14 ****
--- 9,15 ----
  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
*** ../vim-7.4.1570/src/testdir/test_help_tagjump.vim   2016-03-15 
16:35:09.252426190 +0100
--- src/testdir/test_help_tagjump.vim   2016-03-15 16:34:03.045109785 +0100
***************
*** 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
*** ../vim-7.4.1570/src/version.c       2016-03-15 15:09:25.225513841 +0100
--- src/version.c       2016-03-15 16:28:46.928373241 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1571,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
43. You tell the kids they can't use the computer because "Daddy's got work to
    do" and you don't even have a job.

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui