Remove unused variable

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

View File

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