diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 14:11:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 14:11:10 +0800 |
commit | 1ca77c222b00215657bae416eba5d280a1d9dc29 (patch) | |
tree | 2d203ebcd6609c1db6c61cde4d43fccb7424f341 /test/old/testdir/test_vimscript.vim | |
parent | c2e47e7bec0394a2cc12c8f83e3e5950ad99d1b4 (diff) | |
parent | 85741677c86f7686e3597a310f8059608e7816fb (diff) | |
download | rneovim-1ca77c222b00215657bae416eba5d280a1d9dc29.tar.gz rneovim-1ca77c222b00215657bae416eba5d280a1d9dc29.tar.bz2 rneovim-1ca77c222b00215657bae416eba5d280a1d9dc29.zip |
Merge pull request #23097 from zeertzjq/vim-8.2.0101
vim-patch:8.2.{0101,0102,0103,0104,0633,0634}: null typval tests
Diffstat (limited to 'test/old/testdir/test_vimscript.vim')
-rw-r--r-- | test/old/testdir/test_vimscript.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/old/testdir/test_vimscript.vim b/test/old/testdir/test_vimscript.vim index 5988d6ed71..b5578f7f68 100644 --- a/test/old/testdir/test_vimscript.vim +++ b/test/old/testdir/test_vimscript.vim @@ -6508,9 +6508,17 @@ func Test_type() call assert_equal(v:t_float, type(0.0)) call assert_equal(v:t_bool, type(v:false)) call assert_equal(v:t_bool, type(v:true)) + " call assert_equal(v:t_none, type(v:none)) + " call assert_equal(v:t_none, type(v:null)) call assert_equal(v:t_string, type(v:_null_string)) call assert_equal(v:t_list, type(v:_null_list)) call assert_equal(v:t_dict, type(v:_null_dict)) + if has('job') + call assert_equal(v:t_job, type(test_null_job())) + endif + if has('channel') + call assert_equal(v:t_channel, type(test_null_channel())) + endif call assert_equal(v:t_blob, type(v:_null_blob)) call assert_equal(0, 0 + v:false) |