summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2019-02-26 21:12:41 +0900
committerKOBAYASHI Shuji <[email protected]>2019-02-26 21:12:41 +0900
commitc6cd69970bcb43adbba40111757d57ea85a4899b (patch)
treeab3019021d18be2f159f811c3d3a985c4defe24c
parent68f421c859e615feaae42d1cc085062096f2c581 (diff)
downloadmruby-c6cd69970bcb43adbba40111757d57ea85a4899b.tar.gz
mruby-c6cd69970bcb43adbba40111757d57ea85a4899b.zip
Remove unneeded `const_defined?(:Time)` in `mruby-io` test
`mruby-time` is included in test dependencies.
-rw-r--r--mrbgems/mruby-io/test/file.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/mrbgems/mruby-io/test/file.rb b/mrbgems/mruby-io/test/file.rb
index 539e25047..ba4100492 100644
--- a/mrbgems/mruby-io/test/file.rb
+++ b/mrbgems/mruby-io/test/file.rb
@@ -69,9 +69,6 @@ assert('File#flock') do
end
assert('File#mtime') do
- unless Object.const_defined?(:Time)
- skip "File#mtime require Time"
- end
begin
File.open("#{$mrbtest_io_wfname}.mtime", 'w') do |f|
assert_equal Time, f.mtime.class