Commit c6cd6997 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Remove unneeded `const_defined?(:Time)` in `mruby-io` test

`mruby-time` is included in test dependencies.
parent 68f421c8
...@@ -69,9 +69,6 @@ assert('File#flock') do ...@@ -69,9 +69,6 @@ assert('File#flock') do
end end
assert('File#mtime') do assert('File#mtime') do
unless Object.const_defined?(:Time)
skip "File#mtime require Time"
end
begin begin
File.open("#{$mrbtest_io_wfname}.mtime", 'w') do |f| File.open("#{$mrbtest_io_wfname}.mtime", 'w') do |f|
assert_equal Time, f.mtime.class assert_equal Time, f.mtime.class
......
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