diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-12 14:09:13 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-12 14:09:13 +0000 |
commit | 14804d6b09747d9066442cd947a3097333692734 (patch) | |
tree | e610fb2a1704ca3869874c95ead2330b07ded8dd | |
parent | 34289fff0fe6fed9bcc23fa27a650a729f54b64b (diff) | |
download | ruby-14804d6b09747d9066442cd947a3097333692734.tar.gz |
* 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
-rw-r--r-- | test/ruby/test_numeric.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_numeric.rb b/test/ruby/test_numeric.rb index 9c5d762602..4c94c69651 100644 --- a/test/ruby/test_numeric.rb +++ b/test/ruby/test_numeric.rb @@ -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 |