From 8eb950d46df86466798e239efc60e864da345921 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Mon, 21 Oct 2019 09:58:24 -0500 Subject: Fix tmath __ --- tests/tmath.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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") -- cgit v1.2.3