Fix dodgy comparison which would never fail

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-29 22:06:12 +00:00
commit 198eef555d
2 changed files with 8 additions and 8 deletions

View file

@ -3,7 +3,7 @@ use inherit;
$der = new inherit::CDerived();
$str = $der->Foo();
if ($str != "CBase::Foo") {
if ($str ne "CBase::Foo") {
die "test failed";
}