projects
/
perl.git
/ commitdiff
free
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7bb3363
)
t/lib/common.pl: Ignore editor droppings
author
Father Chrysostomos <
[email protected]
>
Sun, 31 Jul 2016 06:19:11 +0000 (23:19 -0700)
committer
Father Chrysostomos <
[email protected]
>
Sun, 31 Jul 2016 13:35:05 +0000 (06:35 -0700)
This bites me all the time.
t/lib/common.pl
patch
|
blob
|
blame
|
history
diff --git
a/t/lib/common.pl
b/t/lib/common.pl
index
4ff2b09
..
561e1ff
100644
(file)
--- a/
t/lib/common.pl
+++ b/
t/lib/common.pl
@@
-27,7
+27,7
@@
if (@ARGV) {
print "ARGV = [@ARGV]\n";
@w_files = map { "./lib/$pragma_name/$_" } @ARGV;
} else {
- @w_files = sort grep !/\.rej\z/,
+ @w_files = sort grep !/( \.rej | ~ | \ \(Autosaved\)\.txt ) \z/nx,
glob catfile(curdir(), "lib", $pragma_name, "*");
}