[pLog-svn] r6676 - plog/branches/lifetype-1.2/class/test/PHPUnit

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Jun 23 19:36:49 EDT 2008


Author: jondaley
Date: 2008-06-23 19:36:49 -0400 (Mon, 23 Jun 2008)
New Revision: 6676

Modified:
   plog/branches/lifetype-1.2/class/test/PHPUnit/Assert.php
Log:
quotes around the messages makes it clearer

Modified: plog/branches/lifetype-1.2/class/test/PHPUnit/Assert.php
===================================================================
--- plog/branches/lifetype-1.2/class/test/PHPUnit/Assert.php	2008-06-23 22:57:38 UTC (rev 6675)
+++ plog/branches/lifetype-1.2/class/test/PHPUnit/Assert.php	2008-06-23 23:36:49 UTC (rev 6676)
@@ -137,7 +137,7 @@
             $expected = serialize($expected);
 
             $message = sprintf(
-              '%sexpected %s, actual %s',
+              '%sexpected "%s", actual "%s"',
 
               !empty($message) ? $message . ' ' : '',
               $expected,
@@ -151,7 +151,7 @@
 
         elseif (is_numeric($actual) && is_numeric($expected)) {
             $message = sprintf(
-              '%sexpected %s%s, actual %s',
+              '%sexpected "%s%s", actual "%s"',
 
               !empty($message) ? $message . ' ' : '',
               $expected,
@@ -166,7 +166,7 @@
 
         else {
             $message = sprintf(
-              '%sexpected %s, actual %s',
+              '%sexpected "%s", actual "%s"',
 
               !empty($message) ? $message . ' ' : '',
               $expected,



More information about the pLog-svn mailing list