summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-18 08:17:20 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-18 08:17:20 +0000
commit459c590ca881a80af4583ce4e9fde52c2bf1faf2 (patch)
tree747da82a0f336477ac80999f82139075376b6ffd /test
parent636f19193362cd989758044ab6684adce90cf8b2 (diff)
merge revision(s) 49225: [Backport #10711]
* test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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