summary refs log tree commit diff stats
path: root/tests/exception
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-08-17 21:19:57 +0200
committerGitHub <noreply@github.com>2019-08-17 21:19:57 +0200
commit7cb31455ee949ee006e2f314daa74866cf37a74e (patch)
tree641661998fac2b6a14873e6b661d5e48be61c502 /tests/exception
parentb68380f09b1926f4aea89b14b52bb442d5b002de (diff)
downloadNim-7cb31455ee949ee006e2f314daa74866cf37a74e.tar.gz
fixes #11618 (#11969)
Diffstat (limited to 'tests/exception')
-rw-r--r--tests/exception/t9657.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/exception/t9657.nim b/tests/exception/t9657.nim
index c96a0a597..0b6e128e0 100644
--- a/tests/exception/t9657.nim
+++ b/tests/exception/t9657.nim
@@ -5,4 +5,5 @@ discard """
 """
 # todo: remove `target: "c"` workaround once #10343 is properly fixed
 close stdmsg
-writeLine stdmsg, "exception!"
+const m = "exception!"
+discard writeBuffer(stdmsg, cstring(m), m.len)