diff options
author | Araq <rumpf_a@web.de> | 2019-09-17 10:42:07 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-09-17 15:15:12 +0200 |
commit | c9f3a8b269ffbe52ee843ba350faf569d99e8106 (patch) | |
tree | 7b95fe20fcf2357286970bd5beb817056827ec99 /testament/tests/shouldfail/ttimeout.nim | |
parent | f1b7c0494edbe8e2a6c6eb4764354bbfd6703bf1 (diff) | |
download | Nim-c9f3a8b269ffbe52ee843ba350faf569d99e8106.tar.gz |
added a testcase for #12195; testament now supports a 'timeout' spec field
Diffstat (limited to 'testament/tests/shouldfail/ttimeout.nim')
-rw-r--r-- | testament/tests/shouldfail/ttimeout.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testament/tests/shouldfail/ttimeout.nim b/testament/tests/shouldfail/ttimeout.nim new file mode 100644 index 000000000..fd3e1a598 --- /dev/null +++ b/testament/tests/shouldfail/ttimeout.nim @@ -0,0 +1,7 @@ +discard """ + timeout: "0.1" +""" + +import os + +os.sleep(1000) |