blob: 46cf34979f0a19cfb9e9f077f6f25c60a9b58ce6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
" 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\nNVIM v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+.*", v1)
endfunc
" vim: shiftwidth=2 sts=2 expandtab
|