Skip to content

Commit

Permalink
Hex letters should be downcased
Browse files Browse the repository at this point in the history
This came up when fixing a bug in MagLev
MagLev/maglev@78e9025
  • Loading branch information
jc00ke committed May 8, 2012
1 parent 6dfb9b0 commit d88af5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/ruby/core/fixnum/to_s_spec.rb
Expand Up @@ -6,6 +6,7 @@
12345.to_s(8).should == "30071"
12345.to_s(10).should == "12345"
12345.to_s(16).should == "3039"
95.to_s(16).should == "5f"
12345.to_s(36).should == "9ix"
end

Expand Down

0 comments on commit d88af5b

Please sign in to comment.