Remove unused variable

This commit is contained in:
LemonBoy 2019-01-29 13:04:21 +01:00 • committed by Andreas Rumpf
commit fa7b757823

View file

@ -4407,7 +4407,7 @@ template doAssertRaises*(exception: typedesc, code: untyped): typed =
wrong = true wrong = true
except exception: except exception:
discard discard
except Exception as exc: except Exception:
raiseAssert(astToStr(exception) & raiseAssert(astToStr(exception) &
" wasn't raised, another error was raised instead by:\n"& " wasn't raised, another error was raised instead by:\n"&
astToStr(code)) astToStr(code))