mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:20:06 +08:00
25 lines
893 B
VimL
Vendored
25 lines
893 B
VimL
Vendored
fun! SetUp()
|
|
|
|
endf
|
|
fun! TestCase_creates_various_global_hashes()
|
|
call phpcomplete#LoadData()
|
|
|
|
call VUAssertTrue(exists('g:php_builtin_classes'))
|
|
call VUAssertTrue(exists('g:php_builtin_classnames'))
|
|
call VUAssertTrue(exists('g:php_builtin_interfaces'))
|
|
call VUAssertTrue(exists('g:php_builtin_interfacenames'))
|
|
call VUAssertTrue(exists('g:php_builtin_functions'))
|
|
call VUAssertTrue(exists('g:php_builtin_vars'))
|
|
endf
|
|
|
|
fun! TestCase_php_built_classnames_and_builtin_classes_are_indexed_lowercase()
|
|
call phpcomplete#LoadData()
|
|
|
|
call VUAssertTrue(has_key(g:php_builtin_classes, 'datetime'))
|
|
call VUAssertTrue(has_key(g:php_builtin_classnames, 'datetime'))
|
|
call VUAssertTrue(has_key(g:php_builtin_interfaces, 'traversable'))
|
|
call VUAssertTrue(has_key(g:php_builtin_interfacenames, 'traversable'))
|
|
endf
|
|
|
|
" vim: foldmethod=marker:expandtab:ts=4:sts=4
|