mirror of https://github.com/swig/swig
Fix comment and testsuite check message typos
This commit is contained in:
parent
5e85cf617a
commit
471b9f734e
|
@ -30,6 +30,6 @@ function checkfail(fn)
|
|||
end
|
||||
|
||||
-- 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("FOO = "..example.FOO) end)
|
||||
|
|
|
@ -17,7 +17,7 @@ check::equal(ferrari(),101,'ferrari(2)==101');
|
|||
$sc=new sportscars();
|
||||
check::classname("sportscars",$sc);
|
||||
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->lamborghini(),101,'$sc->lamborghini(2)==101');
|
||||
|
||||
|
|
Loading…
Reference in New Issue