This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
repl.vim/test/can_open.vim
2015-12-24 21:58:21 +09:00

19 lines
440 B
VimL

let s:suite = themis#suite('can_open')
function! s:suite.after_each()
call ResetVariables()
endfunction
"-------------------"
function! s:suite.some_repl()
" repl.vim can open repl
setfiletype ruby | Repl
new | setfiletype haskell | Repl
new | setfiletype erlang | Repl
new | setfiletype python | Repl
" repl.vim cannot open repl
" but repl.vim don't throw some exception
new | setfiletype unknown | Repl
endfunction