Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e2f987d011
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.635 kB
" Test on Sample 6, go to first line outside block and :norm dak
call vimtest#StartTap()
call vimtap#Plan(3)
edit sample_006.rb
exec 'runtime ftplugin/ruby/'.fname.'.vim'
$
normal 0dak
call vimtap#Ok(mapcheck(maps.poa, 'o') != '', 'Check <Plug> mapping.')
call vimtap#Ok(maparg('ak', 'o') =~# maps.poa, 'Check ar mapping.')
call vimtap#Is(getline(1,line('$')), ['# Sample 6', 'module Foo', ' class bar', ' catch :quitRequested do', ' def baz', ' [1,2,3].each do |i|', ' i + 1', ' end', ' end', ' end', ' end', 'end', ''], 'Check if the selection was correct.')
call vimtest#SaveOut()
call vimtest#Quit()
Jump to Line
Something went wrong with that request. Please try again.