]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1128: getwinpos() test does not work on MS-Windows v8.1.1128
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Apr 2019 18:40:35 +0000 (20:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Apr 2019 18:40:35 +0000 (20:40 +0200)
Problem:    getwinpos() test does not work on MS-Windows.
Solution:   Skip the test.

src/testdir/test_terminal.vim
src/version.c

index 1f994785c9bd8f9e8d07cb61d3c7903b875151fe..56b36d0c30375baa137221983473c2430f63f0f1 100644 (file)
@@ -1889,8 +1889,9 @@ func Test_terminal_statusline()
 endfunc
 
 func Test_terminal_getwinpos()
-  " does not work in the MS-Windows console
-  if has('win32') && !has('gui')
+  " getwinpos() does not work in the MS-Windows console, and the GUI runs the
+  " console version in the terminal window.
+  if has('win32')
     return
   endif
 
index dfc986e45a2b5a8587bf3f77798d5f5276a9731d..51ae14c9e7be914d0bdb334c0700cf85685f65ca 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1128,
 /**/
     1127,
 /**/