aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_time.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb
index 232d3472c4..71f2756216 100644
--- a/test/ruby/test_time.rb
+++ b/test/ruby/test_time.rb
@@ -810,8 +810,7 @@ class TestTime < Test::Unit::TestCase
end
def test_strftime_too_wide
- bug4457 = '[ruby-dev:43285]'
- assert_raise(Errno::ERANGE, bug4457) {Time.now.strftime('%8192z')}
+ assert_equal(8192, Time.now.strftime('%8192z').size)
end
def test_strfimte_zoneoffset