summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2020-11-10 09:23:58 +0800
committerGitHub <noreply@github.com>2020-11-10 09:23:58 +0800
commitd8e7caf5dd4ab70b7429896c1587cde992e7855a (patch)
tree753dc837d2ce1f0b4ccb0fab46825ed68acbad0b /tests/stdlib
parent338602a4021771c8a1cbcedfe30738c67b957646 (diff)
downloadNim-d8e7caf5dd4ab70b7429896c1587cde992e7855a.tar.gz
follow #15874(add testcase for #15874) (#15893)
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tterminal_15874.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stdlib/tterminal_15874.nim b/tests/stdlib/tterminal_15874.nim
new file mode 100644
index 000000000..c3455c350
--- /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})