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:
Olly Betts 2023-06-11 09:45:29 +12:00
parent ebfb13cae7
commit c4ef64a3f2
1 changed files with 0 additions and 1 deletions

View File

@ -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")