Permalink
Browse files

Make important parts strong in failed and exceptional results.

  • Loading branch information...
1 parent e80f68e commit 70edc43db106b0dc8f1347b4db22de8befb1ca83 @davidpersson davidpersson committed with nateabele Mar 24, 2011
@@ -274,7 +274,7 @@ div.test-result {
.test-dashboard .test-result {
font-size: 1.15em;
}
-.test-dashboard .test-result .digit {
+.test-dashboard .digit {
font-weight: bold;
}
@@ -1,8 +1,8 @@
<div class="test-exception">
- Exception thrown in <?php echo "{$error['class']}::{$error['method']}()"; ?>
+ <strong>Exception</strong> thrown in <strong><?php echo "{$error['class']}::{$error['method']}()"; ?></strong>
on line <?php echo $error['line'] ?>:
<span class="content"><?php echo $error['message'] ?></span>
<?php if (isset($error['trace']) && !empty($error['trace'])): ?>
Trace: <span class="trace"><?php echo $error['trace'] ?></span>
<?php endif ?>
-</div>
+</div>
@@ -1,8 +1,9 @@
<div class="test-assert test-assert-failed">
- Assertion '<?php echo $error['assertion'] ?>' failed in
- <?php echo $error['class'] ?>::<?php echo $error['method']?>() on line
- <?php echo $error['line'] ?>:
- <span class="content"><?php echo htmlspecialchars(
- $error['message'], ENT_QUOTES, 'UTF-8'
- ) ?></span>
+ Assertion '<strong><?php echo $error['assertion'] ?></strong>' failed in
+ <strong><?php echo $error['class'] ?>::<?php echo $error['method']?>()</strong>
+ on line <?php echo $error['line'] ?>:
+
+ <span class="content">
+ <?php echo htmlspecialchars($error['message'], ENT_QUOTES, 'UTF-8') ?>
+ </span>
</div>

0 comments on commit 70edc43

Please sign in to comment.