diff options
author | Rainer Borene <rainerborene@gmail.com> | 2015-02-23 16:46:06 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-11 00:22:22 -0400 |
commit | 0f97f52ded1ad6dde992d3322eec8075a577c3b4 (patch) | |
tree | 12cc4ac891372bae9b359844bbcea2a13e1a727c /src | |
parent | 9c40721ea4d7b660b78f519abf96317c70460703 (diff) | |
download | rneovim-0f97f52ded1ad6dde992d3322eec8075a577c3b4.tar.gz rneovim-0f97f52ded1ad6dde992d3322eec8075a577c3b4.tar.bz2 rneovim-0f97f52ded1ad6dde992d3322eec8075a577c3b4.zip |
legacy tests: migrate test98
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test98.in | 43 | ||||
-rw-r--r-- | src/nvim/testdir/test98.ok | 1 |
2 files changed, 0 insertions, 44 deletions
diff --git a/src/nvim/testdir/test98.in b/src/nvim/testdir/test98.in deleted file mode 100644 index 83ccba09e9..0000000000 --- a/src/nvim/testdir/test98.in +++ /dev/null @@ -1,43 +0,0 @@ -Test for 'scrollbind' causing an unexpected scroll of one of the windows. -STARTTEST -:so small.vim -:" We don't want the status line to cause problems: -:set laststatus=0 -:let g:totalLines = &lines * 20 -:let middle = g:totalLines / 2 -:wincmd n -:wincmd o -:for i in range(1, g:totalLines) -: call setline(i, 'LINE ' . i) -:endfor -:exe string(middle) -:normal zt -:normal M -:aboveleft vert new -:for i in range(1, g:totalLines) -: call setline(i, 'line ' . i) -:endfor -:exe string(middle) -:normal zt -:normal M -:" Execute the following two command at once to reproduce the problem. -:setl scb | wincmd p -:setl scb -:wincmd w -:let topLineLeft = line('w0') -:wincmd p -:let topLineRight = line('w0') -:setl noscrollbind -:wincmd p -:setl noscrollbind -:q! -:%del _ -:call setline(1, 'Difference between the top lines (left - right): ' . string(topLineLeft - topLineRight)) -:w! test.out -:brewind -ENDTEST - -STARTTEST -:qa! -ENDTEST - diff --git a/src/nvim/testdir/test98.ok b/src/nvim/testdir/test98.ok deleted file mode 100644 index 356ddd8eac..0000000000 --- a/src/nvim/testdir/test98.ok +++ /dev/null @@ -1 +0,0 @@ -Difference between the top lines (left - right): 0 |