Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update regression spec
  • Loading branch information
subbuss committed Sep 16, 2014
1 parent b9df6cd commit 2fcee7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/regression/GH-1969_duplicate_underscore_block_arg.rb
Expand Up @@ -7,8 +7,8 @@ def foo; yield 1,2,3,4,5,6,7; end
describe 'Blocks with duplicate _ args' do
it 'should not crash' do
foo do |x,_,_,_,a,b,c|
bar {}
[x,a,b,c]
end.should_be [1,5,6,7]
yielder {}
[x,_,a,b,c]
end.should_be [1,2,5,6,7]
end
end

0 comments on commit 2fcee7e

Please sign in to comment.