Fix test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fcd200a7b4
commit
b175a77e6a
1 changed files with 3 additions and 3 deletions
|
|
@ -25,10 +25,10 @@
|
|||
|
||||
;; MemberString should be a wrapped class
|
||||
(define scl (Structure-MemberString-get struct))
|
||||
(if (not (string=? (std-string-str-get scl) ""))
|
||||
(if (not (string=? scl ""))
|
||||
(error "Error 4.5"))
|
||||
(std-string-str-set scl "and how")
|
||||
(if (not (string=? (std-string-str-get (Structure-MemberString-get struct)) "and how"))
|
||||
(Structure-MemberString-set struct "and how")
|
||||
(if (not (string=? (Structure-MemberString-get struct) "and how"))
|
||||
(error "Error 5"))
|
||||
(if (not (string=? (Structure-MemberString2-get struct) "member string 2"))
|
||||
(error "Error 6"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue