@@ -110,6 +110,7 @@ func Test_getwinpos()
110110 call assert_match (' Window position: X \d\+, Y \d\+' , execute (' winpos' ))
111111 call assert_true (getwinposx () >= 0 )
112112 call assert_true (getwinposy () >= 0 )
113+ call assert_equal ([getwinposx (), getwinposy ()], getwinpos ())
113114endfunc
114115
115116func Test_quoteplus ()
@@ -138,7 +139,7 @@ func Test_quoteplus()
138139
139140 " Set the quoteplus register to test_call, and another gvim will launched.
140141 " Then, it first tries to paste the content of its own quotedplus register
141- " onto it. Second, it tries to substitute test_responce for the pasted
142+ " onto it. Second, it tries to substitute test_response for the pasted
142143 " sentence. If the sentence is identical to test_call, the substitution
143144 " should succeed. Third, it tries to yank the result of the substitution
144145 " to its own quoteplus register, and last it quits. When system()
@@ -249,7 +250,7 @@ func Test_set_balloonexpr()
249250 setl ballooneval
250251 call assert_equal (' MyBalloonExpr()' , &balloonexpr )
251252 " TODO Read non-empty text, place the pointer at a character of a word,
252- " and check if the content of the balloon is the smae as what is expected.
253+ " and check if the content of the balloon is the same as what is expected.
253254 " Also, check if textlock works as expected.
254255 setl balloonexpr &
255256 call assert_equal (' ' , &balloonexpr )
@@ -267,7 +268,7 @@ func Test_set_balloonexpr()
267268 setl ballooneval
268269 call assert_equal (' MyBalloonFuncForMultilineUsingNL()' , &balloonexpr )
269270 " TODO Read non-empty text, place the pointer at a character of a word,
270- " and check if the content of the balloon is the smae as what is
271+ " and check if the content of the balloon is the same as what is
271272 " expected. Also, check if textlock works as expected.
272273 setl balloonexpr &
273274 delfunc MyBalloonFuncForMultilineUsingNL
@@ -282,7 +283,7 @@ func Test_set_balloonexpr()
282283 setl ballooneval
283284 call assert_equal (' MyBalloonFuncForMultilineUsingList()' , &balloonexpr )
284285 " TODO Read non-empty text, place the pointer at a character of a word,
285- " and check if the content of the balloon is the smae as what is
286+ " and check if the content of the balloon is the same as what is
286287 " expected. Also, check if textlock works as expected.
287288 setl balloonexpr &
288289 delfunc MyBalloonFuncForMultilineUsingList
0 commit comments