From 7cb31455ee949ee006e2f314daa74866cf37a74e Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Sat, 17 Aug 2019 21:19:57 +0200 Subject: fixes #11618 (#11969) --- tests/exception/t9657.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/exception') 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) -- cgit 1.4.1-2-gfad0