add string case

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-07-19 17:33:00 +00:00
commit a923a51bd6
2 changed files with 13 additions and 0 deletions

View file

@ -89,3 +89,8 @@ if v.size() != 0:
raise RuntimeError,"bad getslice"
v = vecStr(["hello ", "world"])
if v[0] != 'hello world':
raise RuntimeError,"bad std::string+std::vector"