[Fusionforge-commits] r15982 - trunk/tests/code/syntax

Olivier Berger olberger at fusionforge.org
Wed Jul 11 10:04:01 CEST 2012


Author: olberger
Date: 2012-07-11 10:04:00 +0200 (Wed, 11 Jul 2012)
New Revision: 15982

Modified:
   trunk/tests/code/syntax/SyntaxTest.php
Log:
Add some hints in comments to help spot problems

Modified: trunk/tests/code/syntax/SyntaxTest.php
===================================================================
--- trunk/tests/code/syntax/SyntaxTest.php	2012-07-11 08:03:51 UTC (rev 15981)
+++ trunk/tests/code/syntax/SyntaxTest.php	2012-07-11 08:04:00 UTC (rev 15982)
@@ -63,6 +63,7 @@
 	public function testUnixLineEndings()
 	{
 		$root = dirname(dirname(dirname(dirname(__FILE__))));
+		// to see individual lines + line nums : find src tests -name '*.php' -type f | xargs pcregrep -n '\r$'
 		$output = `find $root/src $root/tests -name '*.php' -type f | xargs pcregrep -l '\r$'`;
 		$this->assertEquals('', $output);
 		$output = `find $root/src $root/tests -name '*.sql' -type f | xargs pcregrep -l '\r$'`;




More information about the Fusionforge-commits mailing list