Patch 8.1.1472
Problem:    Add_termcap_entry() is not tested.
Solution:   Add a simple test.
Files:      src/testdir/test_termcodes.vim


*** ../vim-8.1.1471/src/testdir/test_termcodes.vim      2019-06-05 
22:57:00.932848350 +0200
--- src/testdir/test_termcodes.vim      2019-06-06 11:51:58.289942323 +0200
***************
*** 626,632 ****
  endfunc
  
  " This only checks if the sequence is recognized.
- " TODO: check that the values were parsed properly
  func Test_term_rgb_response()
    set t_RF=x
    set t_RB=y
--- 626,631 ----
***************
*** 712,714 ****
--- 711,720 ----
  
    set t_RV=
  endfunc
+ 
+ func Test_get_termcode()
+   let k1 = &t_k1
+   set t_k1=
+   set t_k1&
+   call assert_equal(k1, &t_k1)
+ endfunc
*** ../vim-8.1.1471/src/version.c       2019-06-05 22:57:00.932848350 +0200
--- src/version.c       2019-06-06 11:56:08.664934796 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1472,
  /**/

-- 
>From "know your smileys":
 :-| :-|   Deja' vu!

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201906060959.x569xYQ2008386%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui