diff --git a/tests/tmath.nim b/tests/tmath.nim index b2f803b..9f3df79 100644 --- a/tests/tmath.nim +++ b/tests/tmath.nim @@ -20,7 +20,7 @@ cPlugin: import strutils proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} = - sym.name = sym.name.strip(chars={'_'}) + sym.name = sym.name.strip(chars={'_'}).replace("__", "_") cImport cSearchPath("math.h")