aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_numeric.rb
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-29 14:24:31 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-29 14:24:31 +0000
commit9742dec279e8be6081a60a5a9bc6c0384e8f98b6 (patch)
treed7a43ca59c94a683f8c659cd1abe17a478c00d55 /test/ruby/test_numeric.rb
parent8ca1e6a0eeb96526b6fb7a719d05651d12c9f0d3 (diff)
downloadruby-9742dec279e8be6081a60a5a9bc6c0384e8f98b6.tar.gz
* test/ruby/test_numeric.rb (test_num2long): modify a test agaist the
change by r33108. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33113 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 9667046916..09b48ebc69 100644
--- a/test/ruby/test_numeric.rb
+++ b/test/ruby/test_numeric.rb
@@ -224,7 +224,7 @@ class TestNumeric < Test::Unit::TestCase
assert_raise(TypeError) { 1 & 9223372036854777856.0 }
o = Object.new
def o.to_int; 1; end
- assert_equal(1, 1 & o)
+ assert_raise(TypeError) { assert_equal(1, 1 & o) }
end
def test_eql