zoe Sun May 17 10:37:41 2009 UTC
Modified files:
/phpruntests/src/testcase/sections rtExecutableSection.php
Log:
removing \n from end of file write
http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/rtExecutableSection.php?r1=1.2&r2=1.3&diff_format=u
Index: phpruntests/src/testcase/sections/rtExecutableSection.php
diff -u phpruntests/src/testcase/sections/rtExecutableSection.php:1.2
phpruntests/src/testcase/sections/rtExecutableSection.php:1.3
--- phpruntests/src/testcase/sections/rtExecutableSection.php:1.2 Fri Apr
24 08:41:26 2009
+++ phpruntests/src/testcase/sections/rtExecutableSection.php Sun May 17
10:37:41 2009
@@ -7,22 +7,22 @@
protected $fileName;
protected $output;
protected $status;
-
+
protected function init()
{
}
protected function writeExecutableFile()
- {
- $contentsAsString = implode("\n", $this->sectionContents) ."\n";
- file_put_contents($this->fileName, (binary) $contentsAsString);
+ {
+ $contentsAsString = implode("\n", $this->sectionContents);
+ file_put_contents($this->fileName, (binary) $contentsAsString);
}
-
+
public function getFileName()
{
return $this->fileName;
- }
-
+ }
+
public function deleteFile()
{
@unlink($this->fileName);
@@ -32,7 +32,7 @@
{
return $this->output;
}
-
+
abstract function run(rtPhpTest $testcase, rtRuntestsConfiguration
$runConfiguration);
}
?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php