File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
test_procedures_vimscript Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1111source ./test_helpers_bash/test_prepare_between_tests.sh
1212vim -i NONE -u $VIM_TEST_VIMRC -c " source ./test_procedures_vimscript/folding3.vim" $VIM_DISPOSABLE_PYFILE > /dev/null
1313R3=$?
14+ source ./test_helpers_bash/test_prepare_between_tests.sh
15+ vim -i NONE -u $VIM_TEST_VIMRC -c " source ./test_procedures_vimscript/folding4.vim" $VIM_DISPOSABLE_PYFILE > /dev/null
16+ R4=$?
1417set -e
1518
1619if [[ " $R1 " -ne 0 ]]
2225elif [[ " $R3 " -ne 0 ]]
2326then
2427 exit 3
28+ elif [[ " $R4 " -ne 0 ]]
29+ then
30+ exit 4
2531fi
2632
2733# vim: set fileformat=unix filetype=sh wrap tw=0 :
Original file line number Diff line number Diff line change 1+ " Test that doing (reversible) changes in insert mode or normal mode to a
2+ " buffer do not alter their folding.
3+
4+ " Load sample python file.
5+ " With 'def'.
6+ execute " normal! idef myfunc():\<CR> a=1"
7+ execute " normal! A; a= 2;"
8+
9+ " Clean file.
10+ execute " normal! :%d\<CR> "
11+
12+ " With 'class'.
13+ execute " normal! iclass MyClass():\<CR> a=1"
14+ execute " normal! A; a= 2;"
15+
16+ quit !
You can’t perform that action at this time.
0 commit comments