blob: a578f97de40ac7611a756ae6ed713bfd4a90c5b5 [file] [log] [blame]
Bram Moolenaar278e8382020-04-13 18:25:33 +02001" Test :version Ex command
2
3func Test_version()
4 " version should always return the same string.
5 let v1 = execute('version')
6 let v2 = execute('version')
7 call assert_equal(v1, v2)
8
9 call assert_match("^\n\nVIM - Vi IMproved .*", v1)
10endfunc
Bram Moolenaar6d91bcb2020-08-12 18:50:36 +020011
12" vim: shiftwidth=2 sts=2 expandtab