Skip to content

Commit

Permalink
Add (failing) tab test
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jun 23, 2016
1 parent af0228e commit 3d70d4a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions t/tabs.t
@@ -0,0 +1,14 @@
use v6;
use Test;
use lib 'lib';

for qx<git ls-files>.lines -> $file is copy {
next if $file ~~ / 'custom-theme'/;
next if $file ~~ / 'jquery'/;
next if $file ~~ / '.png' $/;
next if $file ~~ / '.ico' $/;

ok !($file.IO.slurp ~~ / \t/), "no tabs in $file";
}

# vim: expandtab shiftwidth=4 ft=perl6

0 comments on commit 3d70d4a

Please sign in to comment.