blob: 12d0e8b7e74700573d43a05fdc3078a9697cf190 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
$lib = isset($_SERVER['TESTLIB']) ? $_SERVER['TESTLIB'] : 'Test-Simple.php';
require_once($lib);
plan(2);
require_ok('badlib.php','Requiring a file with bad syntax should be not ok');
ok(1, 'Continue testing after failed require');
?>
|