summaryrefslogtreecommitdiff
path: root/test/ruby/test_numeric.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-12 14:09:13 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-12 14:09:13 +0000
commit14804d6b09747d9066442cd947a3097333692734 (patch)
treee610fb2a1704ca3869874c95ead2330b07ded8dd /test/ruby/test_numeric.rb
parent34289fff0fe6fed9bcc23fa27a650a729f54b64b (diff)
* 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
Diffstat (limited to 'test/ruby/test_numeric.rb')
-rw-r--r--test/ruby/test_numeric.rb2
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