diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-29 14:24:31 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-29 14:24:31 +0000 |
commit | 9742dec279e8be6081a60a5a9bc6c0384e8f98b6 (patch) | |
tree | d7a43ca59c94a683f8c659cd1abe17a478c00d55 /test/ruby | |
parent | 8ca1e6a0eeb96526b6fb7a719d05651d12c9f0d3 (diff) | |
download | ruby-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')
-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 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 |