[Cs-content-commits] SF.net SVN: cs-content:[449] trunk/1.0/tests/testOfCSFileSystem.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-08-19 20:14:11
|
Revision: 449 http://cs-content.svn.sourceforge.net/cs-content/?rev=449&view=rev Author: crazedsanity Date: 2009-08-19 20:14:05 +0000 (Wed, 19 Aug 2009) Log Message: ----------- Gives reason for error if there was one... NOTE::: test_basic_rw() is randomly failing, not sure why (maybe it is pulling the last line and finding it blank?) Modified Paths: -------------- trunk/1.0/tests/testOfCSFileSystem.php Modified: trunk/1.0/tests/testOfCSFileSystem.php =================================================================== --- trunk/1.0/tests/testOfCSFileSystem.php 2009-08-19 16:14:43 UTC (rev 448) +++ trunk/1.0/tests/testOfCSFileSystem.php 2009-08-19 20:14:05 UTC (rev 449) @@ -160,7 +160,7 @@ $this->writer->go_to_line($randomLine); $lineContents = $this->writer->get_next_line(); - $this->assertTrue(preg_match('/^line #'. $randomLine .' /', $lineContents)); + $this->assertTrue(preg_match('/^line #'. $randomLine .' /', $lineContents), 'Random line #'. $randomLine .' did not start with '. $randomLine .': ('. $lineContents .')'); } $this->writer->go_to_last_line(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |