summaryrefslogtreecommitdiff
path: root/test/date/test_switch_hitter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/date/test_switch_hitter.rb')
-rw-r--r--test/date/test_switch_hitter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/date/test_switch_hitter.rb b/test/date/test_switch_hitter.rb
index c8b00301e6..f16c7983a0 100644
--- a/test/date/test_switch_hitter.rb
+++ b/test/date/test_switch_hitter.rb
@@ -292,7 +292,7 @@ class TestSH < Test::Unit::TestCase
Date.today.strftime('%100000z')
end
assert_raise(Errno::ERANGE) do
- Date.new(1 << 10000).strftime('%Y')
+ Date.new(1 << 10000).strftime('%Y')
end
assert_equal('-3786825600', Date.new(1850).strftime('%s'))
assert_equal('-3786825600000', Date.new(1850).strftime('%Q'))