summaryrefslogtreecommitdiff
path: root/src/testdir/test_popupwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-30 15:28:30 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-30 15:28:30 +0000
commit848faddb870f3ba4d84fcacd1cccb5cdbbfd9c41 (patch)
tree2215ac87eeddd465bb8339ca6654a4edde1efd52 /src/testdir/test_popupwin.vim
parent06011e1a55f32e47fe0af4bd449be6f0e3ff0814 (diff)
downloadvim-git-848faddb870f3ba4d84fcacd1cccb5cdbbfd9c41.tar.gz
patch 8.2.4260: Vim9: can still use a global function without g:v8.2.4260
Problem: Vim9: can still use a global function without g: at the script level. Solution: Also check for g: at the script level. (issue #9637)
Diffstat (limited to 'src/testdir/test_popupwin.vim')
-rw-r--r--src/testdir/test_popupwin.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 5a088b4a1..fda69921b 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -2263,7 +2263,7 @@ func Test_popup_scrollbar()
\ wrap: true,
\ scrollbar: true,
\ mapping: false,
- \ filter: Popup_filter,
+ \ filter: g:Popup_filter,
\ })
enddef
@@ -2328,7 +2328,7 @@ func Test_popup_scrollbar()
call VerifyScreenDump(buf, 'Test_popupwin_scroll_10', {})
" check size with non-wrapping lines
- call term_sendkeys(buf, ":call PopupScroll()\<CR>")
+ call term_sendkeys(buf, ":call g:PopupScroll()\<CR>")
call VerifyScreenDump(buf, 'Test_popupwin_scroll_11', {})
" check size with wrapping lines