add wends test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1122c6ac4f
commit
c47da301c3
1 changed files with 2 additions and 3 deletions
|
|
@ -6,9 +6,8 @@ a = std.A()
|
|||
|
||||
o = std.wostringstream()
|
||||
|
||||
o << a << u" " << 2345 << u" " << 1.435
|
||||
o << a << u" " << 2345 << u" " << 1.435 << std.wends
|
||||
|
||||
|
||||
if o.str() != "A class 2345 1.435":
|
||||
if o.str() != "A class 2345 1.435\0":
|
||||
print "\"%s\"" % (o.str(),)
|
||||
raise RuntimeError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue