mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Merge branch 'feature-midmap'
This commit is contained in:
8
test/lang/ruby/next.rb
Normal file
8
test/lang/ruby/next.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
for i in 0..5
|
||||
if i < 2 then
|
||||
next
|
||||
else
|
||||
end
|
||||
puts "Value of local variable is #{i}"
|
||||
end
|
||||
|
||||
15
test/vader/ruby.vader
Normal file
15
test/vader/ruby.vader
Normal file
@@ -0,0 +1,15 @@
|
||||
Given ruby (Ruby for if):
|
||||
for i in 0..5
|
||||
if i < 2 then
|
||||
next
|
||||
end
|
||||
puts "Value of local variable is #{i}"
|
||||
end
|
||||
|
||||
Do (Motion %):
|
||||
go
|
||||
%
|
||||
|
||||
Then (Verify):
|
||||
AssertEqual 'next', expand('<cword>')
|
||||
|
||||
Reference in New Issue
Block a user