summary refs log tree commit diff stats
path: root/tests/varres/tvartup.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/varres/tvartup.nim')
-rw-r--r--tests/varres/tvartup.nim6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/varres/tvartup.nim b/tests/varres/tvartup.nim
index 20a4156e6..1957a3e35 100644
--- a/tests/varres/tvartup.nim
+++ b/tests/varres/tvartup.nim
@@ -8,10 +8,6 @@ proc divmod(a, b: int): tuple[di, mo: int] =
   return (a div b, a mod b)
 
 var (x, y) = divmod(15, 6)
-stdout.write(x)
-stdout.write(" ")
-stdout.write(y)
+echo x, " ", y
 
 #OUT 2 3
-
-