diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 22:41:09 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-01 22:41:09 +0000 |
commit | 3757b39dfe9854a7f63af36744a04f9b0b9242c3 (patch) | |
tree | 8513015048fdc7e0c68e25524ce30db56a26c8a0 /modules/gallery_unit_test/views | |
parent | 6f98bd445ad53f08810e3861db8a064d71d81baf (diff) |
Improve formatting
Diffstat (limited to 'modules/gallery_unit_test/views')
-rw-r--r-- | modules/gallery_unit_test/views/kohana_unit_test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/views/kohana_unit_test.php b/modules/gallery_unit_test/views/kohana_unit_test.php index 1594c700..e90b0f52 100644 --- a/modules/gallery_unit_test/views/kohana_unit_test.php +++ b/modules/gallery_unit_test/views/kohana_unit_test.php @@ -1,3 +1,4 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> <?php foreach ($results as $class => $methods) { echo str_repeat("-", 100), "\n"; @@ -28,6 +29,7 @@ foreach ($results as $class => $methods) { echo " ", "(", gettype($result->getDebug()), ") ", var_export($result->getDebug(), true), "\n"; } + echo "\n"; } else if ($result instanceof Exception) { echo Kohana::lang("unit_test.error"), "\n"; if ($result->getMessage()) { @@ -35,6 +37,7 @@ foreach ($results as $class => $methods) { } echo " ", $result->getFile(), " (", Kohana::lang("unit_test.line"), " ", $result->getLine(), ")\n"; + echo "\n"; } } } |