Restore checks for globals in php testcases
This commit is contained in:
parent
50f92dca08
commit
8cb0c185ac
38 changed files with 99 additions and 58 deletions
|
|
@ -7,6 +7,8 @@ require "ignore_parameter.php";
|
|||
check::functions(array('jaguar','lotus','tvr','ferrari','fiat','sportscars_daimler','sportscars_astonmartin','sportscars_bugatti','sportscars_lamborghini','sportscars_maseratti'));
|
||||
// New classes
|
||||
check::classes(array('ignore_parameter','SportsCars','MiniCooper','MorrisMinor','FordAnglia','AustinAllegro'));
|
||||
// No new vars
|
||||
check::globals(array());
|
||||
|
||||
check::equal(jaguar(2,3.4),"hello",'jaguar(2,3.4)=="hello"');
|
||||
check::equal(lotus("eek",3.4),101,'lotus("eek",3.4)==101');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue