test_to_s refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
369697bceb
commit
43090c9f50
@ -495,7 +495,7 @@ class TestInteger < Test::Unit::TestCase
|
||||
VS.each {|a|
|
||||
s = a.to_s(radix)
|
||||
b = s.to_i(radix)
|
||||
assert_equal(a, b)
|
||||
assert_equal(a, b, "(#{a}).to_s(#{radix}).to_i(#{radix})")
|
||||
}
|
||||
}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user