Skip to content

Commit

Permalink
Fix wrong Regexp#match spec
Browse files Browse the repository at this point in the history
  • Loading branch information
meh committed Oct 22, 2013
1 parent 31eae17 commit 0a30452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubyspec/core/regexp/match_spec.rb
Expand Up @@ -56,7 +56,7 @@
result.size.should == 3
result.captures.should == ['NOTE', 'This is just a test.']
result.to_a.should == ['NOTE: This is just a test.', 'NOTE', 'This is just a test.']
result[1].should == ['NOTE']
result[1].should == 'NOTE'
result.values_at(1, -1).should == ['NOTE', 'This is just a test.']
result.values_at(-3, 0).should == [nil, 'NOTE: This is just a test.']
end
Expand Down

0 comments on commit 0a30452

Please sign in to comment.