diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-31 02:37:15 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-08-31 02:37:15 +0000 |
| commit | 711f71b76122400b27980df5a225beadbef22ac2 (patch) | |
| tree | a386b2daed4c48c1cb5e0f323d74c9c339d34324 /test | |
| parent | e7fb308be526def9536e10c00751772bea91ad4f (diff) | |
| download | ruby-711f71b76122400b27980df5a225beadbef22ac2.tar.gz ruby-711f71b76122400b27980df5a225beadbef22ac2.tar.xz ruby-711f71b76122400b27980df5a225beadbef22ac2.zip | |
* test/gdbm/test_gdbm.rb (teardown): should remove GDBM temporary
file.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -rw-r--r-- | test/gdbm/test_gdbm.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gdbm/test_gdbm.rb b/test/gdbm/test_gdbm.rb index 74223b0bb..f4a6bfb19 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) |
