aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
commit68543f30921c52cb1bf5c041879a232b41ba6580 (patch)
treef09cede74019f7be21cee0ba0a5703cc0c147060 /test/ruby/test_time.rb
parentc719cd9b463049932ae1dc1af5a6a1b50609cbef (diff)
downloadruby-68543f30921c52cb1bf5c041879a232b41ba6580.tar.gz
use ML ref. for assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index ad9b64ae0e..6177e198d9 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -63,11 +63,11 @@ class TestTime < Test::Unit::TestCase
end
end
- def test_huge_difference # [ruby-dev:22619]
+ def test_huge_difference
if negative_time_t?
- assert_equal(Time.at(-0x80000000), Time.at(0x7fffffff) - 0xffffffff)
+ assert_equal(Time.at(-0x80000000), Time.at(0x7fffffff) - 0xffffffff, "[ruby-dev:22619]")
assert_equal(Time.at(-0x80000000), Time.at(0x7fffffff) + (-0xffffffff))
- assert_equal(Time.at(0x7fffffff), Time.at(-0x80000000) + 0xffffffff)
+ assert_equal(Time.at(0x7fffffff), Time.at(-0x80000000) + 0xffffffff, "[ruby-dev:22619]")
assert_equal(Time.at(0x7fffffff), Time.at(-0x80000000) - (-0xffffffff))
end
end