diff --git a/t/cp/gh-115-copy-into-dir.t b/t/cp/gh-115-copy-into-dir.t index 46c364ae..8f3509a6 100644 --- a/t/cp/gh-115-copy-into-dir.t +++ b/t/cp/gh-115-copy-into-dir.t @@ -79,7 +79,7 @@ subtest 'into directory' => sub { my @files = glob '* */*'; diag( "Files in current working dir are <@files>" ); - unlink $second_filename; + unlink $target; ok ! -e $target, "$target removed at end of test"; };