[Rt-commit] r9018 - in rt/branches/3.7-EXPERIMENTAL: .
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 12 12:31:39 EDT 2007
Author: sartak
Date: Wed Sep 12 12:31:39 2007
New Revision: 9018
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/t/00-mason-syntax.t
Log:
r42580 at onn: sartak | 2007-09-12 12:31:31 -0400
Don't try to syntax check vim's swap files
Modified: rt/branches/3.7-EXPERIMENTAL/t/00-mason-syntax.t
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/t/00-mason-syntax.t (original)
+++ rt/branches/3.7-EXPERIMENTAL/t/00-mason-syntax.t Wed Sep 12 12:31:39 2007
@@ -12,7 +12,8 @@
no_chdir => 1,
wanted => sub {
return if /(?:\.(?:jpe?g|png|gif|rej)|\~)$/i;
- if (m!/\.svn$!) {
+ return if m{/\.[^/]+\.swp$}; # vim swap files
+ if (m{/\.svn$}) {
$File::Find::prune = 1;
return;
}
More information about the Rt-commit
mailing list