diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 10:45:51 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 10:45:51 +0000 |
| commit | 5a3731d0c6e846c926e233109359632afaacacdb (patch) | |
| tree | fcab6d40a25deffcaa3e755f0ab3d1610b5a9871 /modules/gallery_unit_test/views | |
| parent | 08f9822b72932bafa4aa6327f601e1901e2e0003 (diff) | |
Remove all html::specialchars(); we're not getting rendered in a
browser.
Diffstat (limited to 'modules/gallery_unit_test/views')
| -rw-r--r-- | modules/gallery_unit_test/views/kohana_unit_test.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/gallery_unit_test/views/kohana_unit_test.php b/modules/gallery_unit_test/views/kohana_unit_test.php index c5ca6f30..1594c700 100644 --- a/modules/gallery_unit_test/views/kohana_unit_test.php +++ b/modules/gallery_unit_test/views/kohana_unit_test.php @@ -16,24 +16,24 @@ foreach ($results as $class => $methods) { if ($result === true AND $hide_passed === true) { continue; } - printf("%-40.40s", $method); + printf("%-56.56s", $method); if ($result === true) { echo Kohana::lang("unit_test.passed"), "\n"; } else if ($result instanceof Kohana_Unit_Test_Exception) { echo Kohana::lang("unit_test.failed"), "\n"; - echo " ", html::specialchars($result->getMessage()), "\n"; - echo " ", html::specialchars($result->getFile()); + echo " ", $result->getMessage(), "\n"; + echo " ", $result->getFile(); echo " ", "(" . Kohana::lang("unit_test.line") . " " . $result->getLine(), ")\n"; if ($result->getDebug() !== null) { echo " ", "(", gettype($result->getDebug()), ") ", - html::specialchars(var_export($result->getDebug(), true)), "\n"; + var_export($result->getDebug(), true), "\n"; } } else if ($result instanceof Exception) { echo Kohana::lang("unit_test.error"), "\n"; if ($result->getMessage()) { - echo " ", html::specialchars($result->getMessage()), "\n"; + echo " ", $result->getMessage(), "\n"; } - echo " ", html::specialchars($result->getFile()), " (", + echo " ", $result->getFile(), " (", Kohana::lang("unit_test.line"), " ", $result->getLine(), ")\n"; } } |
