summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/autoload/deoplete/custom.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/autoload/deoplete/custom.vim b/test/autoload/deoplete/custom.vim
index 90cba96..9a9c9f5 100644
--- a/test/autoload/deoplete/custom.vim
+++ b/test/autoload/deoplete/custom.vim
@@ -68,4 +68,15 @@ function! s:suite.custom_option() abort
call s:assert.equals(
\ deoplete#custom#_get_filetype_option(
\ 'keyword_patterns', 'tex', ''), s:tex_pattern)
+
+ " Dict type format
+ call deoplete#custom#_init()
+ call deoplete#custom#_init_buffer()
+ call deoplete#custom#option({
+ \ 'auto_complete': v:true, 'camel_case': v:true
+ \ })
+ call s:assert.equals(
+ \ deoplete#custom#_get_option('auto_complete'), v:true)
+ call s:assert.equals(
+ \ deoplete#custom#_get_option('camel_case'), v:true)
endfunction