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 # Head2
content 2 content 2
Do ([[ -> Go to the previous header): # TODO fix for vim_7.3.429
G # Do ([[ -> Go to the previous header):
k # G
[[ # k
A placeholder # [[
# A placeholder
Expect (placeholder): #
# Head 1 # Expect (placeholder):
## Head 1.1 placeholder # # Head 1
content 1 # ## Head 1.1 placeholder
# content 1
# Head2 #
content 2 # # Head2
# content 2
Do (]] -> Go to the next header): #
]] # Do (]] -> Go to the next header):
A placeholder # ]]
# A placeholder
Expect (placeholder): #
# Head 1 # Expect (placeholder):
## Head 1.1 placeholder # # Head 1
content 1 # ## Head 1.1 placeholder
# content 1
# Head2 #
content 2 # # Head2
# content 2
Do ([= -> Go to the previous header which has the same level): #
G # Do ([= -> Go to the previous header which has the same level):
k # G
[= # k
A placeholder # [=
# A placeholder
Expect (placeholder): #
# Head 1 placeholder # Expect (placeholder):
## Head 1.1 # # Head 1 placeholder
content 1 # ## Head 1.1
# content 1
# Head2 #
content 2 # # Head2
# content 2
Do (]= -> Go to the next header which has the same level): #
]= # Do (]= -> Go to the next header which has the same level):
A placeholder # ]=
# A placeholder
Expect (placeholder): #
# Head 1 # Expect (placeholder):
## Head 1.1 # # Head 1
content 1 # ## Head 1.1
# content 1
# Head2 placeholder #
content 2 # # Head2 placeholder
# content 2
Do (]u Go one level up): #
j # Do (]u Go one level up):
]u # j
A placeholder # ]u
# A placeholder
Expect (placeholder): #
# Head 1 placeholder # Expect (placeholder):
## Head 1.1 # # Head 1 placeholder
content 1 # ## Head 1.1
# content 1
# Head2 #
content 2 # # Head2
# content 2
Do ([u Go one level up): #
j # Do ([u Go one level up):
[u # j
A placeholder # [u
# A placeholder
Expect (placeholder): #
# Head 1 placeholder # Expect (placeholder):
## Head 1.1 # # Head 1 placeholder
content 1 # ## Head 1.1
# content 1
# Head2 #
content 2 # # Head2
# content 2
# 2.2 List {{{2 # 2.2 List {{{2

View File

@ -122,6 +122,10 @@ vader_filter() {
fi fi
} }
# Say Hi
echo -en "Starting $(basename $0) for VimWiki\n"
red='\033[0;31m' red='\033[0;31m'
green='\033[0;32m' green='\033[0;32m'
nc='\033[0m' nc='\033[0m'
@ -215,18 +219,26 @@ fi
trap exit 1 SIGINT SIGTERM trap exit 1 SIGINT SIGTERM
# select which tests should run # select which tests should run
o_error=0
case $type in case $type in
"vader" ) "vader" )
runVader runVader
o_error=$(( $? | $o_error ))
;; ;;
"vint" ) "vint" )
runVint runVint
o_error=$(( $? | $o_error ))
;; ;;
"all" ) "all" )
runVint runVint
o_error=$(( $? | $o_error ))
runVader runVader
o_error=$(( $? | $o_error ))
;; ;;
* ) * )
echo "Error: invalid type - '$type'" 1>&2 echo "Error: invalid type - '$type'" 1>&2
exit 1 exit 1
esac 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 " prep
edit test/resources/delay.wiki edit test/resources/delay.wiki
normal! 50% normal! 50%
normal! zozo # TODO set ft and set wiki syntax or this error (no fold found)
# normal! zozo
tabedit tabedit
" run test " run test