Mercurial > vim
diff src/testdir/test_let.vim @ 30035:bbcdc76dcd71 v9.0.0355
patch 9.0.0355: check for uppercase char in autoload name is wrong
Commit: https://github.com/vim/vim/commit/6c667bdc9489963102bd6c46b1b73e4d43c034ce
Author: thinca <thinca@gmail.com>
Date: Fri Sep 2 11:25:37 2022 +0100
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 #11031)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 02 Sep 2022 12:30:06 +0200 |
parents | 3626ca6a20ea |
children | f08ed0738f7a |
line wrap: on
line diff
--- 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