From a27ed8868851c0e91286d8ce4af726be8c19be4e Mon Sep 17 00:00:00 2001 From: flywind <43030857+xflywind@users.noreply.github.com> Date: Tue, 10 Nov 2020 09:23:58 +0800 Subject: [PATCH] follow #15874(add testcase for #15874) (#15893) (cherry picked from commit d8e7caf5dd4ab70b7429896c1587cde992e7855a) --- tests/stdlib/tterminal_15874.nim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/stdlib/tterminal_15874.nim diff --git a/tests/stdlib/tterminal_15874.nim b/tests/stdlib/tterminal_15874.nim new file mode 100644 index 0000000000..c3455c3508 --- /dev/null +++ b/tests/stdlib/tterminal_15874.nim @@ -0,0 +1,8 @@ +discard """ + cmd: "nim c --app:console $file" + action: "compile" +""" + +import terminal + +writeStyled("hello", {styleBright})