mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Perform GC before deleting directories
In some environments, the test will fail because the directory in use cannot be deleted. This problem was encountered when building 32-bit binary with mingw32 on FreeBSD and running on wine.
This commit is contained in:
@@ -133,5 +133,6 @@ assert('Dir#seek') do
|
||||
end
|
||||
|
||||
assert('DirTest.teardown') do
|
||||
GC.start
|
||||
assert_nothing_raised{DirTest.teardown}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user