forked from aniani/vim
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695)
13 lines
285 B
VimL
13 lines
285 B
VimL
" Test :version Ex command
|
|
|
|
func Test_version()
|
|
" version should always return the same string.
|
|
let v1 = execute('version')
|
|
let v2 = execute('version')
|
|
call assert_equal(v1, v2)
|
|
|
|
call assert_match("^\n\nVIM - Vi IMproved .*", v1)
|
|
endfunc
|
|
|
|
" vim: shiftwidth=2 sts=2 expandtab
|