diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2021-08-26 04:26:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 04:26:32 -0700 |
| commit | 4c499899b2c3b31d57c1911c522683bdb2e32a0a (patch) | |
| tree | 73bd8630718e854355ae1cc9c4272838618b67c9 /src/nvim/testdir/test_lambda.vim | |
| parent | 2548a9e18037339c4c502d971bdeaf909b82a739 (diff) | |
| parent | b2994e35c9357a8144beaf27e1a8ea4dd133f5d4 (diff) | |
| download | rneovim-4c499899b2c3b31d57c1911c522683bdb2e32a0a.tar.gz rneovim-4c499899b2c3b31d57c1911c522683bdb2e32a0a.tar.bz2 rneovim-4c499899b2c3b31d57c1911c522683bdb2e32a0a.zip | |
Merge #15293 Vimscript "method" syntax
Port VimL's method call syntax - vim-patch:8.1.{1638,1800,1803,1807,1809,1816,1820,1821,1828,1834,1835,1861,1863,1878,1879,1888,1909,1911,1912}
Diffstat (limited to 'src/nvim/testdir/test_lambda.vim')
| -rw-r--r-- | src/nvim/testdir/test_lambda.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_lambda.vim b/src/nvim/testdir/test_lambda.vim index f026c8a55f..63bb4ae1ef 100644 --- a/src/nvim/testdir/test_lambda.vim +++ b/src/nvim/testdir/test_lambda.vim @@ -61,7 +61,7 @@ endfunction function Test_lambda_fails() call assert_equal(3, {a, b -> a + b}(1, 2)) - call assert_fails('echo {a, a -> a + a}(1, 2)', 'E15:') + call assert_fails('echo {a, a -> a + a}(1, 2)', 'E853:') call assert_fails('echo {a, b -> a + b)}(1, 2)', 'E15:') endfunc |