Permalink
Browse files

on a 32-bit system, the year 2100 results in an "time out of range" e…

…xcpetion
  • Loading branch information...
rkh committed Mar 14, 2012
1 parent 912c777 commit 82d1a9767a7399eeaeb8e1807480dfc2f664f531
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/helpers_test.rb
View
@@ -739,7 +739,7 @@ def obj.is_a?(thing) 60.is_a?(thing) end
get '/compare', {}, { 'HTTP_IF_MODIFIED_SINCE' => 'Sun, 26 Sep 2010 23:43:52 GMT' }
assert_equal 200, status
assert_equal 'foo', body
- get '/compare', {}, { 'HTTP_IF_MODIFIED_SINCE' => 'Sun, 26 Sep 2100 23:43:52 GMT' }
+ get '/compare', {}, { 'HTTP_IF_MODIFIED_SINCE' => 'Sun, 26 Sep 2012 23:43:52 GMT' }
assert_equal 304, status
assert_equal '', body
end

0 comments on commit 82d1a97

Please sign in to comment.