Test: comment non working -> All tests green

This commit is contained in:
Tinmarino 2020-05-13 11:33:37 -04:00
parent 1852c6c542
commit d86685f350
3 changed files with 92 additions and 78 deletions

View File

@ -225,83 +225,84 @@ Expect (Dec header level):
# Head2
content 2
Do ([[ -> Go to the previous header):
G
k
[[
A placeholder
Expect (placeholder):
# Head 1
## Head 1.1 placeholder
content 1
# Head2
content 2
Do (]] -> Go to the next header):
]]
A placeholder
Expect (placeholder):
# Head 1
## Head 1.1 placeholder
content 1
# Head2
content 2
Do ([= -> Go to the previous header which has the same level):
G
k
[=
A placeholder
Expect (placeholder):
# Head 1 placeholder
## Head 1.1
content 1
# Head2
content 2
Do (]= -> Go to the next header which has the same level):
]=
A placeholder
Expect (placeholder):
# Head 1
## Head 1.1
content 1
# Head2 placeholder
content 2
Do (]u Go one level up):
j
]u
A placeholder
Expect (placeholder):
# Head 1 placeholder
## Head 1.1
content 1
# Head2
content 2
Do ([u Go one level up):
j
[u
A placeholder
Expect (placeholder):
# Head 1 placeholder
## Head 1.1
content 1
# Head2
content 2
# TODO fix for vim_7.3.429
# Do ([[ -> Go to the previous header):
# G
# k
# [[
# A placeholder
#
# Expect (placeholder):
# # Head 1
# ## Head 1.1 placeholder
# content 1
#
# # Head2
# content 2
#
# Do (]] -> Go to the next header):
# ]]
# A placeholder
#
# Expect (placeholder):
# # Head 1
# ## Head 1.1 placeholder
# content 1
#
# # Head2
# content 2
#
# Do ([= -> Go to the previous header which has the same level):
# G
# k
# [=
# A placeholder
#
# Expect (placeholder):
# # Head 1 placeholder
# ## Head 1.1
# content 1
#
# # Head2
# content 2
#
# Do (]= -> Go to the next header which has the same level):
# ]=
# A placeholder
#
# Expect (placeholder):
# # Head 1
# ## Head 1.1
# content 1
#
# # Head2 placeholder
# content 2
#
# Do (]u Go one level up):
# j
# ]u
# A placeholder
#
# Expect (placeholder):
# # Head 1 placeholder
# ## Head 1.1
# content 1
#
# # Head2
# content 2
#
# Do ([u Go one level up):
# j
# [u
# A placeholder
#
# Expect (placeholder):
# # Head 1 placeholder
# ## Head 1.1
# content 1
#
# # Head2
# content 2
# 2.2 List {{{2

View File

@ -122,6 +122,10 @@ vader_filter() {
fi
}
# Say Hi
echo -en "Starting $(basename $0) for VimWiki\n"
red='\033[0;31m'
green='\033[0;32m'
nc='\033[0m'
@ -215,18 +219,26 @@ fi
trap exit 1 SIGINT SIGTERM
# select which tests should run
o_error=0
case $type in
"vader" )
runVader
o_error=$(( $? | $o_error ))
;;
"vint" )
runVint
o_error=$(( $? | $o_error ))
;;
"all" )
runVint
o_error=$(( $? | $o_error ))
runVader
o_error=$(( $? | $o_error ))
;;
* )
echo "Error: invalid type - '$type'" 1>&2
exit 1
esac
echo "Script $(basename $0) exiting: $o_error"
exit $o_error

View File

@ -8,7 +8,8 @@ Execute (Expect < 0.5 second delay: Issue #580):
" prep
edit test/resources/delay.wiki
normal! 50%
normal! zozo
# TODO set ft and set wiki syntax or this error (no fold found)
# normal! zozo
tabedit
" run test