diff src/testdir/test_popupwin.vim @ 22435:166a0f17b05e v8.2.1766

patch 8.2.1766: Vim9: Some tests are still using :let Commit: https://github.com/vim/vim/commit/7a9cbca00a8ec53306f8a5852e332feb79091793 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 27 22:47:05 2020 +0200 patch 8.2.1766: Vim9: Some tests are still using :let Problem: Vim9: Some tests are still using :let. Solution: Change the last few declarations to use :var.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Sep 2020 23:00:04 +0200
parents 909ce065e99a
children 73be82f278c0
line wrap: on
line diff
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -2690,7 +2690,7 @@ def Popupwin_close_prevwin()
   split
   wincmd b
   assert_equal(2, winnr())
-  let buf = term_start(&shell, #{hidden: 1})
+  var buf = term_start(&shell, #{hidden: 1})
   popup_create(buf, {})
   TermWait(buf, 100)
   popup_clear(true)