diff options
| author | ckelsel <ckelsel@hotmail.com> | 2017-07-21 20:25:36 +0800 |
|---|---|---|
| committer | ckelsel <ckelsel@hotmail.com> | 2017-07-21 20:25:36 +0800 |
| commit | 2c89195afdce9c66c875801753523f561ed5e4ca (patch) | |
| tree | 9945e93e7ebca2387221b6a11670f100000a0124 /src/nvim/testdir/test_expr.vim | |
| parent | cb95f71f71f665b21848cf25780d83278cd1dcf0 (diff) | |
| parent | 4bcc70b2b5b02e3a6048b55a4390739570db3524 (diff) | |
| download | rneovim-2c89195afdce9c66c875801753523f561ed5e4ca.tar.gz rneovim-2c89195afdce9c66c875801753523f561ed5e4ca.tar.bz2 rneovim-2c89195afdce9c66c875801753523f561ed5e4ca.zip | |
merge upstream
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
| -rw-r--r-- | src/nvim/testdir/test_expr.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index 82c5d21bd0..710eae9b8b 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -418,6 +418,9 @@ func Test_function_with_funcref() let s:fref = function(s:f) call assert_equal(v:t_string, s:fref('x')) call assert_fails("call function('s:f')", 'E700:') + + call assert_fails("call function('foo()')", 'E475:') + call assert_fails("call function('foo()')", 'foo()') endfunc func Test_funcref() |