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:
parent
232775c55b
commit
198eef555d
2 changed files with 8 additions and 8 deletions
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue