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:
ringabout 2022-08-24 01:28:51 +08:00 • committed by GitHub
commit 3dbf2ac946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 7 additions and 47 deletions

View file

@ -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"