On Sun Dec 07 12:59:16 2008, coke wrote: > > The function tmp_directory that is called in the test file to create > "/tmp/t" is ONLY called from > this test file. That may point to ripping out the function instead of > trying to craft a test for it.
Just now I was on the verge of doing a commit in which I ripped out Parrot::IO::Directory::tmp_directory() and the one directly associated test in t/perl/Parrot_IO.t. Out of obsessiveness, I called: 'make clean && make && prove -v t/perl/*.t'. Only then did I realize that the '$d' object returned by the test is an input into the next two tests and many other tests in that file. So simply ripping out the function and a single unit test won't work. This requires more study. kid51 _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
