diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 14:38:26 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-26 14:38:26 +0800 |
| commit | c00844aee4d9b607073ff123dfe2e872c9b84954 (patch) | |
| tree | 837c0973319b8d168db9ccd96d6ae113d29287e7 /src/nvim/testdir/test_lambda.vim | |
| parent | ec33edc7b7027b809ac0b496344367a451e3974a (diff) | |
| parent | 7b39ce36a4599539cd5cb07dad6bd980d30a3180 (diff) | |
| download | rneovim-c00844aee4d9b607073ff123dfe2e872c9b84954.tar.gz rneovim-c00844aee4d9b607073ff123dfe2e872c9b84954.tar.bz2 rneovim-c00844aee4d9b607073ff123dfe2e872c9b84954.zip | |
Merge pull request #20806 from zeertzjq/vim-8.2.0401
vim-patch:7.4.{1081,1097},8.2.{0401,0418}: eval tests
Diffstat (limited to 'src/nvim/testdir/test_lambda.vim')
| -rw-r--r-- | src/nvim/testdir/test_lambda.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_lambda.vim b/src/nvim/testdir/test_lambda.vim index c178c87d3e..997c3dcd3a 100644 --- a/src/nvim/testdir/test_lambda.vim +++ b/src/nvim/testdir/test_lambda.vim @@ -63,6 +63,7 @@ function Test_lambda_fails() call assert_equal(3, {a, b -> a + b}(1, 2)) call assert_fails('echo {a, a -> a + a}(1, 2)', 'E853:') call assert_fails('echo {a, b -> a + b)}(1, 2)', 'E15:') + echo assert_fails('echo 10->{a -> a + 2}', 'E107:') endfunc func Test_not_lambda() |