Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
30034:629977ec7f62 | 30035:bbcdc76dcd71 |
---|---|
5 func Test_let() | 5 func Test_let() |
6 " Test to not autoload when assigning. It causes internal error. | 6 " Test to not autoload when assigning. It causes internal error. |
7 set runtimepath+=./sautest | 7 set runtimepath+=./sautest |
8 let Test104#numvar = function('tr') | 8 let Test104#numvar = function('tr') |
9 call assert_equal("function('tr')", string(Test104#numvar)) | 9 call assert_equal("function('tr')", string(Test104#numvar)) |
10 | |
11 let foo#tr = function('tr') | |
12 call assert_equal("function('tr')", string(foo#tr)) | |
13 unlet foo#tr | |
10 | 14 |
11 let a = 1 | 15 let a = 1 |
12 let b = 2 | 16 let b = 2 |
13 | 17 |
14 let out = execute('let a b') | 18 let out = execute('let a b') |