mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34289fff0f
commit
14804d6b09
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class TestNumeric < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
bug10711 = '[ruby-core:67405] [Bug #10711]'
|
||||
exp = "Float can't be coerced into Fixnum"
|
||||
exp = "1.2 can't be coerced into Fixnum"
|
||||
assert_raise_with_message(TypeError, exp, bug10711) { 1 & 1.2 }
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue