diff --git a/lib/system/assertions.nim b/lib/system/assertions.nim index e0110d5c0d42f..cb1f3fd404437 100644 --- a/lib/system/assertions.nim +++ b/lib/system/assertions.nim @@ -44,7 +44,7 @@ template assert*(cond: untyped, msg = "") = ## to be caught by unit testing frameworks. ## ## The compiler may not generate any code at all for ``assert`` if it is - ## advised to do so through the ``-d:release`` or ``--assertions:off`` + ## advised to do so through the ``-d:danger`` or ``--assertions:off`` ## `command line switches `_. const expr = astToStr(cond) assertImpl(cond, msg, expr, compileOption("assertions"))