added a testcase for #12195; testament now supports a 'timeout' spec field
This commit is contained in:
parent
f1b7c0494e
commit
c9f3a8b269
5 changed files with 52 additions and 1 deletions
7
testament/tests/shouldfail/ttimeout.nim
Normal file
7
testament/tests/shouldfail/ttimeout.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
timeout: "0.1"
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
os.sleep(1000)
|
||||
Loading…
Add table
Add a link
Reference in a new issue