diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2016-04-26 23:29:55 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2016-04-26 23:32:01 -0400 |
| commit | e4146dd7df0f1ba932a01a79d6dd511914763c72 (patch) | |
| tree | 4edd1dad482dd469403318913f0fdcabe5c5ef01 /src/nvim/testdir | |
| parent | 0d6fe73d7b4dbba5bcea4559896c92f9c7e3f10a (diff) | |
| download | rneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.tar.gz rneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.tar.bz2 rneovim-e4146dd7df0f1ba932a01a79d6dd511914763c72.zip | |
remove disable_char_avail_for_testing()
test_cursor_func.vim hangs at the call to
disable_char_avail_for_testing(). The test does not actually need this
function (and it correctly fails if the fix from 7.4.1300 is reverted).
Given that disable_char_avail_for_testing is a gigantic hack, if we can
avoid it let's do so.
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cursor_func.vim | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_cursor_func.vim b/src/nvim/testdir/test_cursor_func.vim index d3236e6e01..d819b7b092 100644 --- a/src/nvim/testdir/test_cursor_func.vim +++ b/src/nvim/testdir/test_cursor_func.vim @@ -44,9 +44,7 @@ func Test_curswant_with_autocommand() new call setline(1, ['func()', '{', '}', '----']) autocmd! CursorMovedI * call s:Highlight_Matching_Pair() - call disable_char_avail_for_testing(1) exe "normal! 3Ga\<Down>X\<Esc>" - call disable_char_avail_for_testing(0) call assert_equal('-X---', getline(4)) autocmd! CursorMovedI * quit! |