add logging to help investigate why tests/vm/tconst.nim is flaky (#17934)

This commit is contained in:
Timothee Cour 2021-05-04 00:50:06 -07:00 • committed by GitHub
commit 938c6ac5df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ template main() =
Compiled at: $2, $3
""" % [NimVersion & spaces(44-len(NimVersion)), CompileDate, CompileTime]
let b = $a
doAssert CompileTime in b
doAssert CompileTime in b, $(b, CompileTime)
doAssert NimVersion in b
static: main()