diff options
| author | Paulo Custodio <pauloscustodio@gmail.com> | 2021-01-28 11:02:21 +0000 |
|---|---|---|
| committer | Paulo Custodio <pauloscustodio@gmail.com> | 2021-01-28 11:02:21 +0000 |
| commit | 15763ada7b8dab9abe01d385a1ddada46ce5be46 (patch) | |
| tree | 7db0edd55ad20dc29aaf9f9a2b6cc80e56be19ed | |
| parent | a5695655a91f2fadec40cc192144b5c66ad9e46e (diff) | |
| download | perlweeklychallenge-club-15763ada7b8dab9abe01d385a1ddada46ce5be46.tar.gz perlweeklychallenge-club-15763ada7b8dab9abe01d385a1ddada46ce5be46.tar.bz2 perlweeklychallenge-club-15763ada7b8dab9abe01d385a1ddada46ce5be46.zip | |
Remove temporary files produced by tests
| -rw-r--r-- | challenge-004/paulo-custodio/test.pl | 1 | ||||
| -rw-r--r-- | challenge-005/paulo-custodio/test.pl | 1 | ||||
| -rw-r--r-- | challenge-007/paulo-custodio/test.pl | 1 | ||||
| -rw-r--r-- | challenge-014/paulo-custodio/test.pl | 1 | ||||
| -rw-r--r-- | challenge-024/paulo-custodio/test.pl | 5 | ||||
| -rw-r--r-- | challenge-076/paulo-custodio/test.pl | 2 |
6 files changed, 10 insertions, 1 deletions
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"), <<END; aimed, align, antes, arose, ashed, blunt, blunts, broad, buries, clove, cloven, constitution, constitutions, croon, depart, departed, enter, filch, garlic, goats, grieve, grieves, hazard, liens, malign, malignant, malls, midst, ought, ovary, parted, pudgiest, quash, quashed, raped, ruses, shrine, shrines, social, socializing, spasm, spasmodic, succor, succors, theorem, theorems, virus, viruses, wigged END - +unlink "words.txt"; done_testing; sub capture { |
