From 15763ada7b8dab9abe01d385a1ddada46ce5be46 Mon Sep 17 00:00:00 2001 From: Paulo Custodio Date: Thu, 28 Jan 2021 11:02:21 +0000 Subject: Remove temporary files produced by tests --- challenge-004/paulo-custodio/test.pl | 1 + challenge-005/paulo-custodio/test.pl | 1 + challenge-007/paulo-custodio/test.pl | 1 + challenge-014/paulo-custodio/test.pl | 1 + challenge-024/paulo-custodio/test.pl | 5 +++++ challenge-076/paulo-custodio/test.pl | 2 +- 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/challenge-004/paulo-custodio/test.pl b/challenge-004/paulo-custodio/test.pl index b4996cfa00..243a023078 100644 --- a/challenge-004/paulo-custodio/test.pl +++ b/challenge-004/paulo-custodio/test.pl @@ -30,6 +30,7 @@ word END +unlink "words.txt"; done_testing; sub capture { diff --git a/challenge-005/paulo-custodio/test.pl b/challenge-005/paulo-custodio/test.pl index 495a7e1cc3..8952319125 100644 --- a/challenge-005/paulo-custodio/test.pl +++ b/challenge-005/paulo-custodio/test.pl @@ -42,6 +42,7 @@ aerst egor END +unlink "words.txt"; done_testing; sub capture { diff --git a/challenge-007/paulo-custodio/test.pl b/challenge-007/paulo-custodio/test.pl index 5771ad5790..dc0b13cbfc 100644 --- a/challenge-007/paulo-custodio/test.pl +++ b/challenge-007/paulo-custodio/test.pl @@ -50,6 +50,7 @@ END is capture("python python/ch-2.py $in"), $out; } +unlink "words.txt"; done_testing; sub capture { diff --git a/challenge-014/paulo-custodio/test.pl b/challenge-014/paulo-custodio/test.pl index eb6af874b6..ab9951feb0 100644 --- a/challenge-014/paulo-custodio/test.pl +++ b/challenge-014/paulo-custodio/test.pl @@ -39,6 +39,7 @@ Victoria = VIRGIN ISLANDS + CONNECTICUT + OREGON + IOWA Vineland = VIRGIN ISLANDS + NEBRASKA + LOUISIANA + NORTH DAKOTA END +unlink "words.txt"; done_testing; diff --git a/challenge-024/paulo-custodio/test.pl b/challenge-024/paulo-custodio/test.pl index 48d6cebbee..34227f7310 100644 --- a/challenge-024/paulo-custodio/test.pl +++ b/challenge-024/paulo-custodio/test.pl @@ -49,6 +49,11 @@ imagination The Raven.txt END +unlink "index.db3", + 'The Masque of the Red Death.txt', + 'The Fall of the House of Usher.txt', + 'The Cask of Amontillado.txt', + 'The Raven.txt'; done_testing; sub capture { diff --git a/challenge-076/paulo-custodio/test.pl b/challenge-076/paulo-custodio/test.pl index 9570a78a66..7c5ac18132 100644 --- a/challenge-076/paulo-custodio/test.pl +++ b/challenge-076/paulo-custodio/test.pl @@ -26,7 +26,7 @@ is capture("perl perl/ch-2.pl grid.txt words.txt"), <