Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 10480:dc9326b58c33 v8.0.0133
commit https://github.com/vim/vim/commit/fe38b494fff56cd9b2fcaeef26a8fd7b6557d69c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 11 21:34:23 2016 +0100
patch 8.0.0133
Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle)
Solution: Check the cursor line earlier.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 11 Dec 2016 21:45:04 +0100 |
parents | ce8ef728a12e |
children | 4762bd300564 |
comparison
equal
deleted
inserted
replaced
10479:11d5798f95f9 | 10480:dc9326b58c33 |
---|---|
232 call assert_equal('"abc ghi', @:) | 232 call assert_equal('"abc ghi', @:) |
233 | 233 |
234 call feedkeys(":abc def\<S-Left>\<C-U>\<C-B>\"\<CR>", 'tx') | 234 call feedkeys(":abc def\<S-Left>\<C-U>\<C-B>\"\<CR>", 'tx') |
235 call assert_equal('"def', @:) | 235 call assert_equal('"def', @:) |
236 endfunc | 236 endfunc |
237 | |
238 func Test_illegal_address() | |
239 new | |
240 2;'( | |
241 2;') | |
242 quit | |
243 endfunc |