Bram Moolenaar | 9cf4b50 | 2018-07-23 04:12:03 +0200 | [diff] [blame^] | 1 | " Tests for parsing the modeline. |
2 | |||||
3 | func Test_invalid() | ||||
4 | " This was reading before allocated memory. | ||||
5 | call writefile(['vi:0', 'nothing'], 'Xmodeline') | ||||
6 | call assert_fails('split Xmodeline', 'E518:') | ||||
7 | bwipe! | ||||
8 | endfunc |