ruby-changes:37144
From: usa <ko1@a...>
Date: Mon, 12 Jan 2015 23:09:26 +0900 (JST)
Subject: [ruby-changes:37144] usa:r49225 (trunk): * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.
usa 2015-01-12 23:09:13 +0900 (Mon, 12 Jan 2015) New Revision: 49225 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49225 Log: * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message. Modified files: trunk/test/ruby/test_numeric.rb Index: test/ruby/test_numeric.rb =================================================================== --- test/ruby/test_numeric.rb (revision 49224) +++ test/ruby/test_numeric.rb (revision 49225) @@ -34,7 +34,7 @@ class TestNumeric < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_numeric.rb#L34 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/