Permalink
Browse files

removed failing test for Time#initialize; ref #3295

  • Loading branch information...
matz committed Nov 26, 2016
1 parent 4256130 commit 277e81a7c9d8689539d8087c512475c687c8680e
Showing with 0 additions and 11 deletions.
  1. +0 −11 mrbgems/mruby-time/test/time.rb
@@ -211,14 +211,3 @@
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

0 comments on commit 277e81a

Please sign in to comment.