diff --git a/t/00-merge-conflict-markers.t b/t/00-merge-conflict-markers.t index da11a58502..2e3b2fd579 100644 --- a/t/00-merge-conflict-markers.t +++ b/t/00-merge-conflict-markers.t @@ -29,7 +29,7 @@ find({ wanted => sub { my $file = $_; - return if $file =~ /\.(ico|jpg|gif|ogg|pdf|png|psd|swf|zip)$/; + return if $file =~ /\.(ico|jpg|gif|ogg|pdf|png|psd|swf|zip|.*\~)$/; return unless -f $file; my @name_parts = File::Spec->splitpath($file);