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

19 lines
440 B
VimL
Raw Normal View History

let s:suite = themis#suite('can_open')
2015-12-22 14:56:27 +00:00
function! s:suite.after_each()
2015-12-24 12:58:21 +00:00
call ResetVariables()
2015-12-22 14:56:27 +00:00
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