summary refs log tree commit diff stats
path: root/tests/vm/tvarsection.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-08-24 01:28:51 +0800
committerGitHub <noreply@github.com>2022-08-23 19:28:51 +0200
commit3dbf2ac9469bdaaf876f902242a883fe1847adf0 (patch)
tree50f81be04f7d218be0c29d4803662a38df925237 /tests/vm/tvarsection.nim
parent1182216381cdd17b75e16133ce2c79084dd3d3f9 (diff)
downloadNim-3dbf2ac9469bdaaf876f902242a883fe1847adf0.tar.gz
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>
Diffstat (limited to 'tests/vm/tvarsection.nim')
-rw-r--r--tests/vm/tvarsection.nim6
1 files changed, 1 insertions, 5 deletions
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"