Skip to content

Commit

Permalink
Adding failing tag for Range#max. rubinius#1676
Browse files Browse the repository at this point in the history
  • Loading branch information
jc00ke committed Apr 24, 2012
1 parent e0fd4d7 commit b589a11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/ruby/core/range/max_spec.rb
Expand Up @@ -4,7 +4,9 @@
describe "Range#max" do
it "returns the maximum value in the range when called with no arguments" do
(1..10).max.should == 10
(1...10).max.should == 9
('f'..'l').max.should == 'l'
('a'...'f').max.should == 'e'
end

ruby_version_is "1.9" do
Expand Down
1 change: 1 addition & 0 deletions spec/tags/19/ruby/core/range/max_tags.txt
@@ -0,0 +1 @@
fails:Range#max returns the maximum value in the range when called with no arguments

0 comments on commit b589a11

Please sign in to comment.