mirror of https://github.com/swig/swig
Remove commented out testcase line
We'd expect char* typemaps to terminate the string at NUL, as the enabled version of this line tests. Looking at the history this seems to just be a left-over from original development. See #2608
This commit is contained in:
parent
ebfb13cae7
commit
c4ef64a3f2
|
@ -32,7 +32,6 @@ if cvar.var_pchar != "hola":
|
|||
raise RuntimeError("bad pointer case {}".format(cvar.var_pchar))
|
||||
|
||||
cvar.var_namet = pc
|
||||
# if cvar.var_namet != "hola\0":
|
||||
if cvar.var_namet != "hola":
|
||||
raise RuntimeError("bad pointer case")
|
||||
|
||||
|
|
Loading…
Reference in New Issue