make testament isSuccess more robust and allow tests with --hints:off to succeed (#17968)
* fix testament isSuccess * show givenSpec in addResult * simplify tstatictypes.nim
This commit is contained in:
parent
378ee7f888
commit
f68f28d157
4 changed files with 35 additions and 11 deletions
|
|
@ -99,6 +99,7 @@ type
|
|||
timeout*: float # in seconds, fractions possible,
|
||||
# but don't rely on much precision
|
||||
inlineErrors*: seq[InlineError] # line information to error message
|
||||
debugInfo*: string # debug info to give more context
|
||||
|
||||
proc getCmd*(s: TSpec): string =
|
||||
if s.cmd.len == 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue