summaryrefslogtreecommitdiffstats
path: root/src/testdir/runtest.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-27 22:47:05 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-27 22:47:05 +0200
commit7a9cbca00a8ec53306f8a5852e332feb79091793 (patch)
treeb7631986432c6cd146e167a6a3c63964361c75a6 /src/testdir/runtest.vim
parent9830938e77b0d36d65b0c31eadf09f7b9d394c29 (diff)
patch 8.2.1766: Vim9: Some tests are still using :letv8.2.1766
Problem: Vim9: Some tests are still using :let. Solution: Change the last few declarations to use :var.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r--src/testdir/runtest.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim
index 1a83227b1f..3ff8c675f3 100644
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -355,6 +355,9 @@ func FinishTesting()
qall!
endfunc
+" TODO: remove later
+let v:disallow_let = 1
+
" Source the test script. First grab the file name, in case the script
" navigates away. g:testname can be used by the tests.
let g:testname = expand('%')