summaryrefslogtreecommitdiff
path: root/test/gdbm/test_gdbm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/gdbm/test_gdbm.rb')
-rw-r--r--test/gdbm/test_gdbm.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb
index 74223b0bb4..f4a6bfb197 100644
--- a/test/gdbm/test_gdbm.rb
+++ b/test/gdbm/test_gdbm.rb
@@ -42,8 +42,8 @@ if defined? GDBM
ObjectSpace.each_object(GDBM) do |obj|
obj.close unless obj.closed?
end
- File.delete *Dir.glob("tmptest_gdbm*").to_a
- p Dir.glob("tmptest_gdbm*") if $DEBUG
+ File.delete *Dir.glob("*tmptest_gdbm*").to_a
+ p Dir.glob("*tmptest_gdbm*") if $DEBUG
end
def check_size(expect, gdbm=@gdbm)