summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/assertions.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/assertions.nim b/lib/system/assertions.nim
index 090f4096c..ca22677b8 100644
--- a/lib/system/assertions.nim
+++ b/lib/system/assertions.nim
@@ -71,7 +71,7 @@ template onFailedAssert*(msg, code: untyped): untyped {.dirty.} =
     let msg = msgIMPL
     code
 
-template doAssertRaises*(exception: typedesc, code: untyped): typed =
+template doAssertRaises*(exception: typedesc, code: untyped) =
   ## Raises ``AssertionError`` if specified ``code`` does not raise the
   ## specified exception. Example:
   ##