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:
Timothee Cour 2021-05-10 21:54:52 -07:00 • committed by GitHub
commit f68f28d157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 35 additions and 11 deletions

View file

@ -0,0 +1,4 @@
discard """
matrix: "--hints:off"
"""
doAssert true