]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1277: tests: trailing comment char in test_popupwin v9.1.1277
authorDoug Kearns <dougkearns@gmail.com>
Sat, 5 Apr 2025 13:51:26 +0000 (15:51 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 5 Apr 2025 13:51:26 +0000 (15:51 +0200)
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 <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_popupwin.vim
src/version.c

index 5082676ea2f3bfb757bc2498676e2af0cb93458c..3c8e5d7101493392e7a9f8d0607c4316605f3100 100644 (file)
@@ -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)
index 3e45e2f95f9b6af78725ca9ec81544e4d261b23c..971133b2a145d47a003c2220f511de83edd25474 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1277,
 /**/
     1276,
 /**/