From 4d3961c4128de26a61346f131d852570dbea88a3 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Fri, 17 Jan 2014 19:53:45 +0900 Subject: [PATCH] Test: add test case for t,T smartsign --- t/easymotion_spec.vim | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/t/easymotion_spec.vim b/t/easymotion_spec.vim index a181fde..9b2bfcb 100644 --- a/t/easymotion_spec.vim +++ b/t/easymotion_spec.vim @@ -949,18 +949,21 @@ describe 'g:EasyMotion_smartsign' end "}}} - " makes no effect on searching signs {{{ - " it 'makes no effect on searching signs' - " normal! 0 - " normal f; - " Expect col('.') == 28 - " normal! 0 - " normal f: - " Expect col('.') == 20 - " normal f: - " Expect col('.') == 20 - " end - " }}} + " makes t,T smart sign {{{ + it 'makes t,T smart case' + normal! 0 + normal t; + Expect col('.') == 1 + normal t;a + Expect col('.') == 19 + normal t; + Expect col('.') == 27 + normal! $ + Expect col('.') == 28 + normal T; + Expect col('.') == 21 + end + "}}} end "}}}