aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tmath.nim2
1 files changed, 1 insertions, 1 deletions
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")