Re: cvs: pear /File_Archive Archive.php /File_Archive/tests test.php

From: Date: Wed, 18 May 2005 13:39:35 +0000
Subject: Re: cvs: pear /File_Archive Archive.php /File_Archive/tests test.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37714@lists.php.net to get a copy of this message
On Wed, May 18, 2005 at 09:44:47AM -0000, Vincent Lascaux wrote: > vincentlascaux Wed May 18 05:44:47 2005 EDT > ... > --- pear/File_Archive/tests/test.php:1.29 Sat May 14 20:13:20 2005 > +++ pear/File_Archive/tests/test.php Wed May 18 05:44:47 2005 ... > @@ -287,10 +272,14 @@ > } > function testDirectories() > { > - File_Archive::extract( > - File_Archive::read('../Archive'), > + $error = File_Archive::extract( > + File_Archive::read('../Archve'), > File_Archive::toArchive('up.tbz', File_Archive::toFiles()) > ); > + if (PEAR::isError($error)) { > + var_dump($error); > + } > + $this->assertFalse(PEAR::isError($error)); Did that var_dump() get put in there for your development purposes but you forgot to take it out? That really shouldn't be in a public release. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#37714) next »