remove echo statements in tests (part 1) (#20178)
* remove echo statements * Update tests/vm/triangle_array.nim * Update tests/vm/tyaytypedesc.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
This commit is contained in:
parent
1182216381
commit
3dbf2ac946
9 changed files with 7 additions and 47 deletions
|
|
@ -1,11 +1,5 @@
|
|||
import macros
|
||||
|
||||
discard """
|
||||
output: '''
|
||||
when - test
|
||||
'''
|
||||
"""
|
||||
|
||||
# test that when stmt works from within a macro
|
||||
|
||||
macro output(s: string, xs: varargs[untyped]): auto =
|
||||
|
|
@ -21,4 +15,4 @@ macro output(s: string, xs: varargs[untyped]): auto =
|
|||
# should never get here so this should not break
|
||||
more.broken.xs
|
||||
|
||||
echo output("test")
|
||||
doAssert output("test") == "when - test"
|
||||
Loading…
Add table
Add a link
Reference in a new issue