check::equal() now reports the values if they aren't equal.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2009-03-30 02:01:12 +00:00
commit c05ddc9d14

View file

@ -185,7 +185,7 @@ class check {
}
function equal($a,$b,$message) {
if (! ($a===$b)) return check::fail($message);
if (! ($a===$b)) return check::fail($message . ": '$a'!=='$b'");
return TRUE;
}