- Fix tests

This commit is contained in:
Felipe Pena 2010-06-16 02:14:32 +00:00
parent 45bd9b385e
commit 42a57f7656
4 changed files with 17 additions and 3 deletions

View file

@ -37,6 +37,8 @@ bool(false)
- Arg 1 wrong type
Warning: ob_start(): no array or string given in %s on line 20
Notice: ob_start(): failed to create buffer in %s on line 20
bool(false)

View file

@ -20,15 +20,23 @@ var_dump(ob_start("no"));
echo "done"
?>
--EXPECTF--
Warning: ob_start(): class 'nonExistent' not found in %s on line 13
Notice: ob_start(): failed to create buffer in %s on line 13
bool(false)
Warning: ob_start(): class 'C' does not have a method 'nonExistent' in %s on line 14
Notice: ob_start(): failed to create buffer in %s on line 14
bool(false)
Warning: ob_start(): class 'C' does not have a method 'no' in %s on line 15
Notice: ob_start(): failed to create buffer in %s on line 15
bool(false)
Warning: ob_start(): function 'no' not found or invalid function name in %s on line 16
Notice: ob_start(): failed to create buffer in %s on line 16
bool(false)
done
done

View file

@ -15,6 +15,8 @@ var_dump(ob_start(array($c)));
echo "done"
?>
--EXPECTF--
Warning: ob_start(): array must have exactly two members in %s on line %d
Notice: ob_start(): failed to create buffer in %s on line 11
bool(false)
done
done

View file

@ -15,6 +15,8 @@ var_dump(ob_start(array($c, 'f')));
echo "done"
?>
--EXPECTF--
Warning: ob_start(): class 'C' does not have a method 'f' in %s on line %d
Notice: ob_start(): failed to create buffer in %s on line 11
bool(false)
done
done