[Rake-devel] Minor tweaks to 3 test files
Daniel Berger
djberge at qwest.com
Thu May 5 16:49:58 EDT 2005
Hi all,
A couple of very minor diffs here:
--- testfilelist.orig Thu May 5 14:36:57 2005
+++ testfilelist.rb Thu May 5 14:38:20 2005
@@ -12,6 +12,7 @@
def teardown
FileList.select_default_ignore_patterns
+ FileUtils.rm_f("testdata")
end
def test_create
--- testfileutils.orig Thu May 5 14:41:00 2005
+++ testfileutils.rb Thu May 5 14:40:25 2005
@@ -114,4 +114,7 @@
end
end
+ def teardown
+ FileUtils.rm_f("testdata")
+ end
end
--- testtesttask.orig Thu May 5 14:47:02 2005
+++ testtesttask.rb Thu May 5 14:47:23 2005
@@ -68,4 +68,8 @@
assert_equal ['a.rb', 'b.rb', 'install.rb'], tt.file_list.to_a
end
+ def teardown
+ FileUtils.rm_f("testdata")
+ end
+
end
Tweaking these 3 seems to eliminate a leftover "testdata" directory
after running "rake test". Unfortunately, it didn't eliminate the other
errors I reported previously. Still working on those. :)
Regards,
Dan
More information about the Rake-devel
mailing list