aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-30 20:58:11 -0500
committerGitHub <noreply@github.com>2016-11-30 20:58:11 -0500
commit5679ceb3a832239d21b2dce48a5a4cf7c31a534d (patch)
tree7f9d05c871d68d8db556bf36a7d1f545084f5a10 /src/nvim/testdir
parentf2c6cc2d0932dc791054fe2acc799f0fea8109d9 (diff)
parent5efcefee8703a8d1d3c33e0773d3e234e42a2293 (diff)
downloadrneovim-5679ceb3a832239d21b2dce48a5a4cf7c31a534d.tar.gz
rneovim-5679ceb3a832239d21b2dce48a5a4cf7c31a534d.tar.bz2
rneovim-5679ceb3a832239d21b2dce48a5a4cf7c31a534d.zip
Merge pull request #5648 from brcolow/vim-7.4.2071
vim-patch:7.4.2071
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_viml.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_viml.vim b/src/nvim/testdir/test_viml.vim
index c39c5e6b28..a11d62f5cf 100644
--- a/src/nvim/testdir/test_viml.vim
+++ b/src/nvim/testdir/test_viml.vim
@@ -949,6 +949,14 @@ func Test_type()
call assert_equal(6, type(v:false))
call assert_equal(6, type(v:true))
call assert_equal(7, type(v:null))
+ call assert_equal(v:t_number, type(0))
+ call assert_equal(v:t_string, type(""))
+ call assert_equal(v:t_func, type(function("tr")))
+ call assert_equal(v:t_list, type([]))
+ call assert_equal(v:t_dict, 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))
endfunc
"-------------------------------------------------------------------------------