File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -1432,6 +1432,40 @@ describe 'Word motion'
14321432 end
14331433 " }}}
14341434end
1435+
1436+ describe ' Verbose'
1437+ before
1438+ new
1439+ map s <Plug> (easymotion-s)
1440+ map f <Plug> (easymotion-f)
1441+ map F <Plug> (easymotion-F)
1442+ map t <Plug> (easymotion-t)
1443+ map T <Plug> (easymotion-T)
1444+ call EasyMotion#init ()
1445+ call AddLine (' some words in the sentence' )
1446+ end
1447+
1448+ after
1449+ close !
1450+ end
1451+
1452+ it ' Verbose global variable'
1453+ Expect g: EasyMotion_verbose == # 1
1454+ end
1455+
1456+ it ' Turned On'
1457+ let g: EasyMotion_verbose = 1
1458+ let &verbosefile = tempname ()
1459+ normal sa
1460+ " TODO: l:tmp_name_verbose should have one line
1461+ end
1462+ it ' Turned Off'
1463+ let g: EasyMotion_verbose = 0
1464+ let &verbosefile = &verbosefile
1465+ normal s_
1466+ " TODO: l:tmp_name_not_verbose should have no lines
1467+ end
1468+ end
14351469" }}}
14361470
14371471" vim: fdm = marker:et :ts = 4 :sw = 4 :sts = 4
You can’t perform that action at this time.
0 commit comments