aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-SVN-Web/files/patch-2basic.t
blob: daa78083fa03da33aa7e2b4faf8a3db9740e6876 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- t/2basic.t	Sun Apr 29 23:22:51 2007
+++ t/2basic.t	Mon Dec 15 03:09:45 2008
@@ -61,6 +61,9 @@
     # a ':'.  This catches template bugs with too many slashes.
     unlike($mech->uri(), qr{(?<!:)//}, 'URI does not contain "//"');
 
+    diag('skip static files checks in local tests: '.$mech->uri), return
+        if $mech->uri->path eq '/' or $mech->uri->path =~ m{/css/};
+
     $mech->content_unlike(qr'An error occured', '  and content was correct');
     if($can_tidy 
        and ($mech->uri() !~ m{ (?: