mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-dir/test: remove warnings from lacked assertions
This commit is contained in:
@@ -3,7 +3,7 @@ assert('Dir') do
|
||||
end
|
||||
|
||||
assert('DirTest.setup') do
|
||||
DirTest.setup
|
||||
assert_nothing_raised{DirTest.setup}
|
||||
end
|
||||
|
||||
assert('Dir.chdir') do
|
||||
@@ -66,6 +66,7 @@ end
|
||||
|
||||
assert('Dir#close') do
|
||||
d = Dir.new(".")
|
||||
assert_nothing_raised{d.close}
|
||||
end
|
||||
|
||||
assert('Dir#each') do
|
||||
@@ -132,5 +133,5 @@ assert('Dir#seek') do
|
||||
end
|
||||
|
||||
assert('DirTest.teardown') do
|
||||
DirTest.teardown
|
||||
assert_nothing_raised{DirTest.teardown}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user