`Time.new(1969,12,31,23,59,59)` may or may not faile; ref #3932

On some platform and timezone it is a valid time spec.
parent f8ab3c1e
......@@ -227,10 +227,6 @@ assert('2000 times 500us make a second') do
t.usec == 0
end
assert('Time.new with Dec 31 23:59:59 1969 raise ArgumentError') do
assert_raise(ArgumentError) {Time.new(1969, 12, 31, 23, 59, 59)}
end
assert('Time.gm with Dec 31 23:59:59 1969 raise ArgumentError') do
assert_raise(ArgumentError) {Time.gm(1969, 12, 31, 23, 59, 59)}
end
\ No newline at end of file
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment