summary refs log tree commit diff stats
path: root/tests/template/utemplates.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/utemplates.nim')
-rw-r--r--tests/template/utemplates.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/utemplates.nim b/tests/template/utemplates.nim
index 7674ba7c0..d70746578 100644
--- a/tests/template/utemplates.nim
+++ b/tests/template/utemplates.nim
@@ -22,7 +22,7 @@ block: # templates can be redefined multiple times
     if not cond: fail(msg)
 
   template assertionFailed(body: untyped) {.dirty.} =
-    template fail(msg: string): typed =
+    template fail(msg: string): typed {.redefine.} =
       body
 
   assertionFailed: