summaryrefslogtreecommitdiff
path: root/test/ruby/test_fixnum.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-13 09:35:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-13 09:35:29 +0000
commitc6818f4104448757677a6c5835c38a61475c78b9 (patch)
tree1795a8cca6a35e7ce8dacf9a0b9126fb6f5b6acb /test/ruby/test_fixnum.rb
parentc393603f945d22fd6edd1b16ca367c41a5f6962c (diff)
downloadruby-c6818f4104448757677a6c5835c38a61475c78b9.tar.gz
check (-0x4000000000000000)/(-1) too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_fixnum.rb')
-rw-r--r--test/ruby/test_fixnum.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_fixnum.rb b/test/ruby/test_fixnum.rb
index f9f9052f76..ac1354a7e4 100644
--- a/test/ruby/test_fixnum.rb
+++ b/test/ruby/test_fixnum.rb
@@ -64,5 +64,6 @@ class TestFixnum < Test::Unit::TestCase
assert_equal(-0x40000001, 0xc0000003/(-3))
assert_equal(-0x4000000000000001, 0xc000000000000003/(-3))
assert_equal(0x40000000, (-0x40000000)/(-1), "[ruby-dev:31210]")
+ assert_equal(0x4000000000000000, (-0x4000000000000000)/(-1))
end
end