diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 09:35:29 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-13 09:35:29 +0000 |
| commit | c126360de87a518fc0d6fe1b2cab9c81a1f5f2d7 (patch) | |
| tree | 1795a8cca6a35e7ce8dacf9a0b9126fb6f5b6acb /test/ruby | |
| parent | 67486c15dd7c76efbcd22f5769b69122f9eb25b4 (diff) | |
| download | ruby-c126360de87a518fc0d6fe1b2cab9c81a1f5f2d7.tar.gz ruby-c126360de87a518fc0d6fe1b2cab9c81a1f5f2d7.tar.xz ruby-c126360de87a518fc0d6fe1b2cab9c81a1f5f2d7.zip | |
check (-0x4000000000000000)/(-1) too.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_fixnum.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_fixnum.rb b/test/ruby/test_fixnum.rb index f9f9052f7..ac1354a7e 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 |
