summaryrefslogtreecommitdiff
path: root/test/ruby/test_time.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-10-17 10:16:32 -0700
committerJeremy Evans <code@jeremyevans.net>2019-10-17 12:21:47 -0700
commitee821e90741ebedc6c7a3bb0e8b67e59f3a44022 (patch)
tree66d7eed8bd278d5e721ccf069df17922ab561ba0 /test/ruby/test_time.rb
parent8c0629ba58c5c95b970a657493d261356eedea1d (diff)
Update test to handle x32 ABI compiled Ruby on Linux
Suggestion from Laurence Parry. Fixes [Bug #16030]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2572
Diffstat (limited to 'test/ruby/test_time.rb')
-rw-r--r--test/ruby/test_time.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index d084044173..35e3172fb1 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -1250,6 +1250,7 @@ class TestTime < Test::Unit::TestCase
size = GC::INTERNAL_CONSTANTS[:RVALUE_SIZE]
case size
when 20 then expect = 50
+ when 24 then expect = 54
when 40 then expect = 86
when 48 then expect = 94
else