Fix comment and testsuite check message typos
This commit is contained in:
parent
5e85cf617a
commit
471b9f734e
2 changed files with 2 additions and 2 deletions
|
|
@ -30,6 +30,6 @@ function checkfail(fn)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- these should fail
|
-- these should fail
|
||||||
-- example.EXTERN is a nil value, so concatentatin will make it fail
|
-- example.EXTERN is a nil value, so concatenation will make it fail
|
||||||
checkfail(function() print("EXTERN = "..example.EXTERN) end)
|
checkfail(function() print("EXTERN = "..example.EXTERN) end)
|
||||||
checkfail(function() print("FOO = "..example.FOO) end)
|
checkfail(function() print("FOO = "..example.FOO) end)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ check::equal(ferrari(),101,'ferrari(2)==101');
|
||||||
$sc=new sportscars();
|
$sc=new sportscars();
|
||||||
check::classname("sportscars",$sc);
|
check::classname("sportscars",$sc);
|
||||||
check::equal($sc->daimler(2,3.4),"hello",'$sc->daimler(2,3.4)=="hello"');
|
check::equal($sc->daimler(2,3.4),"hello",'$sc->daimler(2,3.4)=="hello"');
|
||||||
check::equal($sc->astonmartin("eek",3.4),101,'$sc->mastonmartin("eek",3.4)==101');
|
check::equal($sc->astonmartin("eek",3.4),101,'$sc->astonmartin("eek",3.4)==101');
|
||||||
check::equal($sc->bugatti("eek",2),8.8,'$sc->bugatti("eek",2)==8.8');
|
check::equal($sc->bugatti("eek",2),8.8,'$sc->bugatti("eek",2)==8.8');
|
||||||
check::equal($sc->lamborghini(),101,'$sc->lamborghini(2)==101');
|
check::equal($sc->lamborghini(),101,'$sc->lamborghini(2)==101');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue