summaryrefslogtreecommitdiffstats
path: root/application/third_party/test-more-php/Test-More-OO.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-05 21:39:25 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-05 21:39:25 +0100
commita0b991d7de4bfbcc823c113a8438142827bf7cba (patch)
treec9dd9674ab0658e0d3cee94ea1ae4a8fd4dd6bac /application/third_party/test-more-php/Test-More-OO.php
parenta8d1fb52d1dadbd6d4aa4ea50f6f27a967030aa4 (diff)
Make Test-More useable for our usecase
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/third_party/test-more-php/Test-More-OO.php')
-rwxr-xr-xapplication/third_party/test-more-php/Test-More-OO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/third_party/test-more-php/Test-More-OO.php b/application/third_party/test-more-php/Test-More-OO.php
index 195c27b00..aa769e3ee 100755
--- a/application/third_party/test-more-php/Test-More-OO.php
+++ b/application/third_party/test-more-php/Test-More-OO.php
@@ -280,7 +280,7 @@ class TestMore extends TestSimple {
// Not a bail because you asked for it
if ($ok == FALSE) {
$this->diag(" Exiting due to missing requirement.");
- exit();
+ throw new RuntimeException("Missing requirement");
}
return $ok;