removed failing test for Time#initialize; ref #3295

parent 4256130e
......@@ -211,14 +211,3 @@ assert('2000 times 500us make a second') do
end
t.usec == 0
end
assert("Time#initialize doens't leave uninitialized object accessible") do
assert_raise ArgumentError do
$x = Time.new
a = Object.new
def a.to_i
$x.mday
end
$x.initialize a
end
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