From 3dbf2ac9469bdaaf876f902242a883fe1847adf0 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Wed, 24 Aug 2022 01:28:51 +0800 Subject: 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> --- tests/vm/tvarsection.nim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/vm/tvarsection.nim') diff --git a/tests/vm/tvarsection.nim b/tests/vm/tvarsection.nim index a45be6164..cd34bd02e 100644 --- a/tests/vm/tvarsection.nim +++ b/tests/vm/tvarsection.nim @@ -1,7 +1,3 @@ -discard """ - output: '''-1abc''' -""" - var a {.compileTime.} = 2 b = -1 @@ -12,4 +8,4 @@ static: doAssert a == 2 doAssert c == 3 -echo b, d +doAssert ($b & $d) == "-1abc" -- cgit 1.4.1-2-gfad0