From cf6eda54485441c88be0f2e5c5c5580770563f40 Mon Sep 17 00:00:00 2001 From: brian d foy Date: Thu, 22 Jun 2023 00:34:20 -0400 Subject: [PATCH] unlink the right file --- t/cp/gh-115-copy-into-dir.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; };