diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-01-08 22:39:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-08 15:39:25 +0100 |
commit | 76e4f8afb1423eb04f26059f1ed01ca0375bee63 (patch) | |
tree | 8c0802b478e7fa801fe6f53642b27113366b1335 /tests | |
parent | 24d297b437d6ba84c965367edfc0a51c59d7de90 (diff) | |
download | Nim-76e4f8afb1423eb04f26059f1ed01ca0375bee63.tar.gz |
fixes #21209; exclude threads options for JS (#21233)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/js/t21209.nim | 6 | ||||
-rw-r--r-- | tests/js/t21209.nims | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/js/t21209.nim b/tests/js/t21209.nim new file mode 100644 index 000000000..4de34f035 --- /dev/null +++ b/tests/js/t21209.nim @@ -0,0 +1,6 @@ +discard """ + action: "compile" + cmd: "nim check --warning[UnusedImport]:off $file" +""" + +import std/times diff --git a/tests/js/t21209.nims b/tests/js/t21209.nims new file mode 100644 index 000000000..318e28f97 --- /dev/null +++ b/tests/js/t21209.nims @@ -0,0 +1 @@ +--b:js \ No newline at end of file |