moved eqproc to the correct magic position
also added mEqCString to evalOps so the test runs
This commit is contained in:
parent
e1c2aa2ddd
commit
becd55dced
3 changed files with 13 additions and 2 deletions
10
tests/js/testmagic.nim
Normal file
10
tests/js/testmagic.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
cmd: "nimrod js --hints:on -r $# $#"
|
||||
output: '''true'''
|
||||
"""
|
||||
|
||||
# This file tests some magic
|
||||
|
||||
const foo = cstring("foo")
|
||||
const bar = cstring("foo")
|
||||
echo(foo == bar)
|
||||
Loading…
Add table
Add a link
Reference in a new issue