Patch 8.0.1840
Problem: getwinpos() is not tested.
Solution: Add a test. (Dominique Pelle, closes #2911)
Files: src/testdir/test_gui.vim
*** ../vim-8.0.1839/src/testdir/test_gui.vim 2018-05-05 15:47:14.050089915
+0200
--- src/testdir/test_gui.vim 2018-05-14 21:29:28.931548339 +0200
***************
*** 110,115 ****
--- 110,116 ----
call assert_match('Window position: X \d\+, Y \d\+', execute('winpos'))
call assert_true(getwinposx() >= 0)
call assert_true(getwinposy() >= 0)
+ call assert_equal([getwinposx(), getwinposy()], getwinpos())
endfunc
func Test_quoteplus()
***************
*** 138,144 ****
" Set the quoteplus register to test_call, and another gvim will launched.
" Then, it first tries to paste the content of its own quotedplus register
! " onto it. Second, it tries to substitute test_responce for the pasted
" sentence. If the sentence is identical to test_call, the substitution
" should succeed. Third, it tries to yank the result of the substitution
" to its own quoteplus register, and last it quits. When system()
--- 139,145 ----
" Set the quoteplus register to test_call, and another gvim will launched.
" Then, it first tries to paste the content of its own quotedplus register
! " onto it. Second, it tries to substitute test_response for the pasted
" sentence. If the sentence is identical to test_call, the substitution
" should succeed. Third, it tries to yank the result of the substitution
" to its own quoteplus register, and last it quits. When system()
***************
*** 249,255 ****
setl ballooneval
call assert_equal('MyBalloonExpr()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the smae as what is expected.
" Also, check if textlock works as expected.
setl balloonexpr&
call assert_equal('', &balloonexpr)
--- 250,256 ----
setl ballooneval
call assert_equal('MyBalloonExpr()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the same as what is expected.
" Also, check if textlock works as expected.
setl balloonexpr&
call assert_equal('', &balloonexpr)
***************
*** 267,273 ****
setl ballooneval
call assert_equal('MyBalloonFuncForMultilineUsingNL()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the smae as what is
" expected. Also, check if textlock works as expected.
setl balloonexpr&
delfunc MyBalloonFuncForMultilineUsingNL
--- 268,274 ----
setl ballooneval
call assert_equal('MyBalloonFuncForMultilineUsingNL()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the same as what is
" expected. Also, check if textlock works as expected.
setl balloonexpr&
delfunc MyBalloonFuncForMultilineUsingNL
***************
*** 282,288 ****
setl ballooneval
call assert_equal('MyBalloonFuncForMultilineUsingList()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the smae as what is
" expected. Also, check if textlock works as expected.
setl balloonexpr&
delfunc MyBalloonFuncForMultilineUsingList
--- 283,289 ----
setl ballooneval
call assert_equal('MyBalloonFuncForMultilineUsingList()', &balloonexpr)
" TODO Read non-empty text, place the pointer at a character of a word,
! " and check if the content of the balloon is the same as what is
" expected. Also, check if textlock works as expected.
setl balloonexpr&
delfunc MyBalloonFuncForMultilineUsingList
*** ../vim-8.0.1839/src/version.c 2018-05-13 22:36:59.562346139 +0200
--- src/version.c 2018-05-14 21:30:18.175226420 +0200
***************
*** 763,764 ****
--- 763,766 ----
{ /* Add new patch number below this line */
+ /**/
+ 1840,
/**/
--
Citizens are not allowed to attend a movie house or theater nor ride in a
public streetcar within at least four hours after eating garlic.
[real standing law in Indiana, United States of America]
/// 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.