Commit: patch 9.1.1277: tests: trailing comment char in test_popupwin

1 view
Skip to first unread message

Christian Brabandt

unread,
Apr 5, 2025, 10:00:14 AM4/5/25
to vim...@googlegroups.com
patch 9.1.1277: tests: trailing comment char in test_popupwin

Commit: https://github.com/vim/vim/commit/d84cbdb5a36e14913f16621cd78c1d5a9baac53e
Author: Doug Kearns <dougk...@gmail.com>
Date: Sat Apr 5 15:51:26 2025 +0200

patch 9.1.1277: tests: trailing comment char in test_popupwin

Problem: tests: trailing comment char in test_popupwin
Solution: remove crufty tail comment (Doug Kearns)

Remove a crufty tail comment from Test_popup_with_border_and_padding().
The line used to be in a string list and the closing quote and comma
persist.

closes: #17058

Signed-off-by: Doug Kearns <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 5082676ea..3c8e5d710 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -148,7 +148,7 @@ func Test_popup_with_border_and_padding()
\ lastline: 1,
\ scrollbar: 0,
\ visible: 1}
- let winid = popup_create('hello border', #{line: 2, col: 3, border: []})",
+ let winid = popup_create('hello border', #{line: 2, col: 3, border: []})
call assert_equal(with_border_or_padding, winid->popup_getpos())
let options = popup_getoptions(winid)
call assert_equal([], options.border)
diff --git a/src/version.c b/src/version.c
index 3e45e2f95..971133b2a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1277,
/**/
1276,
/**/
Reply all
Reply to author
Forward
0 new messages