aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tnimterop_c.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tnimterop_c.nim b/tests/tnimterop_c.nim
index c577c5d..732efbf 100644
--- a/tests/tnimterop_c.nim
+++ b/tests/tnimterop_c.nim
@@ -41,7 +41,7 @@ cOverride:
proc weirdfunc(apple: ptr ptr ptr cchar): int {.importc.}
proc weirdfunc2(mango: ptr ptr cchar): int {.importc.}
-cImport cSearchPath "test.h"
+cImport(cSearchPath("test.h"))
check TEST_INT == 512
check TEST_FLOAT == 5.12