1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/bundle/vim-javacomplete2/t/complete.vim
2022-11-02 00:34:34 +08:00

22 lines
716 B
VimL
Vendored

source plugin/javacomplete.vim
source autoload/javacomplete.vim
source autoload/javacomplete/complete/complete.vim
source t/javacomplete.vim
call vspec#hint({'sid': 'g:SID("complete/complete")', 'scope': 'SScope()'})
describe 'javacomplete-test'
it 'Regexps test'
let reTypeArgument = g:RE_TYPE_ARGUMENT
let reTypeArgumentExtends = g:RE_TYPE_ARGUMENT_EXTENDS
Expect 'Integer[]' =~ reTypeArgument
Expect 'Integer[]' !~ reTypeArgumentExtends
Expect '? super Integer[]' =~ reTypeArgument
Expect '? super Integer[]' =~ reTypeArgumentExtends
let qualid = g:RE_QUALID
Expect 'java.util.function.ToIntFunction' =~ '^\s*' . qualid . '\s*$'
end
end