Skip to content

Commit

Permalink
Merge pull request #4 from iarna/reqinc-verbose
Browse files Browse the repository at this point in the history
Add a test name to include_ok and require_ok. (Thanks, Rebecca.)
  • Loading branch information
shiflett committed Apr 18, 2012
2 parents f8c07cf + 3d81bfd commit 8d2aac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testmore.php
Expand Up @@ -294,13 +294,13 @@ function diag($message)
function include_ok($module)
{
$pass = ((include $module) == 1);
return ok($pass);
return ok($pass, "include $module");
}

function require_ok($module)
{
$pass = ((require $module) == 1);
return ok($pass);
return ok($pass, "require $module");
}

function skip($message, $num)
Expand Down

0 comments on commit 8d2aac5

Please sign in to comment.