aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test100.in
diff options
context:
space:
mode:
authorJulian Mehne <github@nmehne.de>2014-12-14 13:37:27 +0100
committerJulian Mehne <github@nmehne.de>2014-12-14 14:38:06 +0100
commitc26c387490ca1507fb4841b80366e61bf57f7ce7 (patch)
tree1cda724a6d23056887799fd001a011a56bb6c1b6 /src/nvim/testdir/test100.in
parent850b0b8663e27406db4e6bc44ff5f075326526d4 (diff)
downloadrneovim-c26c387490ca1507fb4841b80366e61bf57f7ce7.tar.gz
rneovim-c26c387490ca1507fb4841b80366e61bf57f7ce7.tar.bz2
rneovim-c26c387490ca1507fb4841b80366e61bf57f7ce7.zip
vim-patch:7.4.470
Problem: Test 11 and 100 do not work properly on Windows. Solution: Avoid using feedkeys(). (Ken Takata) https://code.google.com/p/vim/source/detail?r=v7-4-470
Diffstat (limited to 'src/nvim/testdir/test100.in')
-rw-r--r--src/nvim/testdir/test100.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test100.in b/src/nvim/testdir/test100.in
index f6d2e3711b..2bf931fd4f 100644
--- a/src/nvim/testdir/test100.in
+++ b/src/nvim/testdir/test100.in
@@ -16,7 +16,7 @@ STARTTEST
:new one
:0put ='ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'
:call FillBuffer()
-:call feedkeys(":earlier 10\n", 't')
+:earlier 10
:call UndoLevel()
:set ft=unix
:%w! test.out
@@ -24,7 +24,7 @@ STARTTEST
:0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards)'
:setlocal ul=2
:call FillBuffer()
-:call feedkeys(":earlier 10\n", 't')
+:earlier 10
:call UndoLevel()
:setlocal ul=10
:call UndoLevel()