1
0
forked from aniani/vim
Files
vim/src/testdir/test_version.vim
Bram Moolenaar 6d91bcb4d2 patch 8.2.1432: various inconsistencies in test files
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)
2020-08-12 18:50:36 +02:00

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