mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
Remove unused variable
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user