diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 13:32:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-27 13:32:47 +0800 |
| commit | c41873ab638589c1052404f5e5abef98a61db073 (patch) | |
| tree | 4efcd2a9392b1cdfc3484eb712307c227c6d4667 /src/nvim/testdir | |
| parent | 1fe31651bce5021ea6d6dfe6fa426fde7795a77f (diff) | |
| parent | 762ca67091d13336f90350a15e0a1b965d6d5c01 (diff) | |
| download | rneovim-c41873ab638589c1052404f5e5abef98a61db073.tar.gz rneovim-c41873ab638589c1052404f5e5abef98a61db073.tar.bz2 rneovim-c41873ab638589c1052404f5e5abef98a61db073.zip | |
Merge pull request #20827 from zeertzjq/vim-8.2.4234
vim-patch:8.2.{2653,4234}
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_functions.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index b751215b79..fa79aaf6d7 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -2206,6 +2206,12 @@ func Test_range() call assert_equal([0, 1, 2, 3, 4], uniq(range(5))) endfunc +func Test_garbagecollect_now_fails() + let v:testing = 0 + call assert_fails('call test_garbagecollect_now()', 'E1142:') + let v:testing = 1 +endfunc + " Test for the eval() function func Test_eval() call assert_fails("call eval('5 a')", 'E488:') |