patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 9372d53..f0cc1ab 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -177,7 +177,7 @@
au SwapExists * call HandleSwapExists()
" Close any stray popup windows
- if has('textprop')
+ if has('popupwin')
call popup_clear()
endif
diff --git a/src/testdir/test_execute_func.vim b/src/testdir/test_execute_func.vim
index 2f02409..c2d504f 100644
--- a/src/testdir/test_execute_func.vim
+++ b/src/testdir/test_execute_func.vim
@@ -90,7 +90,7 @@
let line = win_execute(otherwin, 'echo getline(1)')
call assert_match('the new window', line)
- if has('textprop')
+ if has('popupwin')
let popupwin = popup_create('the popup win', {'line': 2, 'col': 3})
redraw
let line = 'echo getline(1)'->win_execute(popupwin)
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 653ee49..9ecd245 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -1,7 +1,7 @@
" Tests for popup windows
source check.vim
-CheckFeature textprop
+CheckFeature popupwin
source screendump.vim
diff --git a/src/testdir/test_popupwin_textprop.vim b/src/testdir/test_popupwin_textprop.vim
index b112755..1b339d4 100644
--- a/src/testdir/test_popupwin_textprop.vim
+++ b/src/testdir/test_popupwin_textprop.vim
@@ -1,6 +1,7 @@
" Tests for popup windows for text properties
source check.vim
+CheckFeature popupwin
CheckFeature textprop
source screendump.vim