diff options
author | thinca <thinca@gmail.com> | 2022-09-02 11:25:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-02 11:25:37 +0100 |
commit | 6c667bdc9489963102bd6c46b1b73e4d43c034ce (patch) | |
tree | 5c652a4a471e06324618c43ffc3b2d0dccfee257 /src/testdir | |
parent | a906e8e1abf0a4c9a058ec5ee8a4c321a008cd41 (diff) |
patch 9.0.0355: check for uppercase char in autoload name is wrongv9.0.0355
Problem: Check for uppercase char in autoload name is wrong, it checks the
name of the script.
Solution: Remove the check. (closes #11031)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_let.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_let.vim b/src/testdir/test_let.vim index fb315e89ed..9822e6f1b7 100644 --- a/src/testdir/test_let.vim +++ b/src/testdir/test_let.vim @@ -8,6 +8,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 |