[Rt-commit] r5529 - in CSS-Squish: lib/CSS t/css3

trs at bestpractical.com trs at bestpractical.com
Tue Jul 4 18:30:11 EDT 2006


Author: trs
Date: Tue Jul  4 18:30:11 2006
New Revision: 5529

Added:
   CSS-Squish/t/css3/07-basic-extra-roots2.css
Modified:
   CSS-Squish/   (props changed)
   CSS-Squish/lib/CSS/Squish.pm

Log:
 r13937 at zot:  tom | 2006-07-04 18:29:09 -0400
 * Add two more useful debugging statements
 * Add a file that if @ROOTS is wrong will break tests


Modified: CSS-Squish/lib/CSS/Squish.pm
==============================================================================
--- CSS-Squish/lib/CSS/Squish.pm	(original)
+++ CSS-Squish/lib/CSS/Squish.pm	Tue Jul  4 18:30:11 2006
@@ -197,6 +197,7 @@
 sub roots {
     my $self = shift;
     @ROOTS = @_ if @_;
+    $self->_debug("Roots are: '", join( "', '", @ROOTS ), "'");
     return @ROOTS;
 }
 
@@ -205,6 +206,7 @@
     my $file = shift;
 
     for my $root ( @_ ) {
+        $self->_debug("Searching dir: $root");
         my @spec = File::Spec->splitpath( $root, 1 );
         my $path = File::Spec->catpath( @spec[0,1], $file );
         

Added: CSS-Squish/t/css3/07-basic-extra-roots2.css
==============================================================================
--- (empty file)
+++ CSS-Squish/t/css3/07-basic-extra-roots2.css	Tue Jul  4 18:30:11 2006
@@ -0,0 +1 @@
+notthis


More information about the Rt-commit mailing list