From 311f09e20f11618e25fa489cf5abe2ee7c67d169 Mon Sep 17 00:00:00 2001 From: Gustaf Lindstedt Date: Sat, 28 Feb 2015 19:26:50 +0800 Subject: legacy tests: migrate test89 --- src/nvim/testdir/test89.in | 71 ---------------------------------------------- src/nvim/testdir/test89.ok | 28 ------------------ 2 files changed, 99 deletions(-) delete mode 100644 src/nvim/testdir/test89.in delete mode 100644 src/nvim/testdir/test89.ok (limited to 'src') diff --git a/src/nvim/testdir/test89.in b/src/nvim/testdir/test89.in deleted file mode 100644 index f1f64fb41f..0000000000 --- a/src/nvim/testdir/test89.in +++ /dev/null @@ -1,71 +0,0 @@ -- Some tests for setting 'number' and 'relativenumber' - This is not all that useful now that the options are no longer reset when - setting the other. -- Some tests for findfile() function - -STARTTEST -:so small.vim -:set hidden nu rnu -:redir @a | set nu? rnu? | redir END -:e! xx -:redir @b | set nu? rnu? | redir END -:e! # -:$put ='results:' -:$put a -:$put b -:" -:set nonu nornu -:setglobal nu -:setlocal rnu -:redir @c | setglobal nu? | redir END -:set nonu nornu -:setglobal rnu -:setlocal nu -:redir @d | setglobal rnu? | redir END -:$put =':setlocal must NOT reset the other global value' -:$put c -:$put d -:" -:set nonu nornu -:setglobal nu -:setglobal rnu -:redir @e | setglobal nu? | redir END -:set nonu nornu -:setglobal rnu -:setglobal nu -:redir @f | setglobal rnu? | redir END -:$put =':setglobal MUST reset the other global value' -:$put e -:$put f -:" -:set nonu nornu -:set nu -:set rnu -:redir @g | setglobal nu? | redir END -:set nonu nornu -:set rnu -:set nu -:redir @h | setglobal rnu? | redir END -:$put =':set MUST reset the other global value' -:$put g -:$put h -:" -:let cwd=getcwd() -:cd .. -:" Tests may be run from a shadow directory, so an extra cd needs to be done to -:" get above src/ -:if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif -:$put ='' -:$put ='Testing findfile' -:$put ='' -:set ssl -:$put =findfile('test19.in','src/nvim/test*') -:exe "cd" cwd -:cd .. -:$put =findfile('test19.in','test*') -:$put =findfile('test19.in','testdir') -:exe "cd" cwd -:/^results/,$w! test.out -:q! -ENDTEST - diff --git a/src/nvim/testdir/test89.ok b/src/nvim/testdir/test89.ok deleted file mode 100644 index c8accd8569..0000000000 --- a/src/nvim/testdir/test89.ok +++ /dev/null @@ -1,28 +0,0 @@ -results: - - number - relativenumber - - number - relativenumber -:setlocal must NOT reset the other global value - - number - - relativenumber -:setglobal MUST reset the other global value - - number - - relativenumber -:set MUST reset the other global value - - number - - relativenumber - -Testing findfile - -src/nvim/testdir/test19.in -testdir/test19.in -testdir/test19.in -- cgit From 6511c24af8fa44b51690f1456f4d8ada04783886 Mon Sep 17 00:00:00 2001 From: Gustaf Lindstedt Date: Sat, 28 Feb 2015 19:33:17 +0800 Subject: legacy tests: migrate test19 --- src/nvim/testdir/test19.in | 33 --------------------------------- src/nvim/testdir/test19.ok | 10 ---------- 2 files changed, 43 deletions(-) delete mode 100644 src/nvim/testdir/test19.in delete mode 100644 src/nvim/testdir/test19.ok (limited to 'src') diff --git a/src/nvim/testdir/test19.in b/src/nvim/testdir/test19.in deleted file mode 100644 index aafa34e521..0000000000 --- a/src/nvim/testdir/test19.in +++ /dev/null @@ -1,33 +0,0 @@ -Tests for "r" with 'smarttab' and 'expandtab' set/not set. -Also test that dv_ works correctly - -STARTTEST -:so small.vim -:set smarttab expandtab ts=8 sw=4 -:" make sure that backspace works, no matter what termcap is used -:set t_kD=x7f t_kb=x08 -/some -r :set noexpandtab -/other -r -:" Test replacing with Tabs and then backspacing to undo it -0wR  -:" Test replacing with Tabs -0wR  -:" Test that copyindent works with expandtab set -:set expandtab smartindent copyindent ts=8 sw=8 sts=8 -o{ -x:set nosol -/Second line/ -fwdv_:?^start?,$w! test.out -:qa! -ENDTEST - -start text - some test text -test text - other test text - a cde - f ghi -test text - Second line beginning with whitespace diff --git a/src/nvim/testdir/test19.ok b/src/nvim/testdir/test19.ok deleted file mode 100644 index 4146214919..0000000000 --- a/src/nvim/testdir/test19.ok +++ /dev/null @@ -1,10 +0,0 @@ -start text - ome test text -test text - ther test text - a cde - hi -test text -{ - x - with whitespace -- cgit