fixes on test related to member vars

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-05-27 11:36:50 +00:00
commit a55e29d2f3
4 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ psi = lib_std_pair.SIPair("hello",1)
pci = lib_std_pair.CIPair(1,1)
psi.first = "hi"
#psi.first = "hi"
psi = lib_std_pair.SIPair("hi",1)

View file

@ -62,7 +62,7 @@ s = "hello world"
b = lib_std_string.B("hi")
b.name = "hello"
b.name = lib_std_string.string("hello")
if b.name != "hello":
raise RuntimeError, "bad string mapping"

View file

@ -63,7 +63,7 @@ s = "hello world"
b = lib_std_wstring.B("hi")
b.name = u"hello"
b.name = lib_std_wstring.wstring(u"hello")
if b.name != "hello":
raise RuntimeError, "bad string mapping"

View file

@ -179,7 +179,7 @@ if def_namet != 'ho\0la':
t.var_namet = def_namet
if t.var_namet != def_namet:
print "bad namet", t.var_namet
print "bad namet", t.var_namet, def_namet
raise RuntimeError
t.var_namet = 'holac'