| Bram Moolenaar | 278e838 | 2020-04-13 18:25:33 +0200 | [diff] [blame] | 1 | " Test :version Ex command |
| 2 | |||||
| 3 | func 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) | ||||
| 10 | endfunc | ||||