Commit 33eefeb7 authored by webchick's avatar webchick

#452416 by bjaspan: Reformat status reporting code slightly to allow breakpoints in debuggers.

parent 9c79816c
......@@ -191,7 +191,14 @@ private function assert($status, $message = '', $group = 'Other', array $caller
// Return to testing prefix.
$db_prefix = $current_db_prefix;
return $status == 'pass' ? TRUE : FALSE;
// We do not use a ternary operator here to allow a breakpoint on
// test failure.
if ($status == 'pass') {
return TRUE;
}
else {
return FALSE;
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment