aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-06 15:11:48 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-11-06 15:13:49 +0800
commited01ef7fa5c2611748f90acfdc2145b22629dc36 (patch)
tree790ab58f00b2c00656639d8228edf35aff1d850c /src/nvim/testdir
parent7404c6010dd7abd4339a4ffd6961f2a420fe7ddb (diff)
downloadrneovim-ed01ef7fa5c2611748f90acfdc2145b22629dc36.tar.gz
rneovim-ed01ef7fa5c2611748f90acfdc2145b22629dc36.tar.bz2
rneovim-ed01ef7fa5c2611748f90acfdc2145b22629dc36.zip
vim-patch:9.0.0355: check for uppercase char in autoload name is wrong
Problem: Check for uppercase char in autoload name is wrong, it checks the name of the script. Solution: Remove the check. (closes vim/vim#11031) https://github.com/vim/vim/commit/6c667bdc9489963102bd6c46b1b73e4d43c034ce Co-authored-by: thinca <thinca@gmail.com>
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_let.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_let.vim b/src/nvim/testdir/test_let.vim
index 49f656c787..35745e9c6a 100644
--- a/src/nvim/testdir/test_let.vim
+++ b/src/nvim/testdir/test_let.vim
@@ -6,6 +6,10 @@ func Test_let()
let Test104#numvar = function('tr')
call assert_equal("function('tr')", string(Test104#numvar))
+ let foo#tr = function('tr')
+ call assert_equal("function('tr')", string(foo#tr))
+ unlet foo#tr
+
let a = 1
let b = 2