diff --git a/tests/lang_stmts/defer/tdefer_malformed_many_children.nim b/tests/lang_stmts/defer/tdefer_malformed_many_children.nim index b502abed027..20ed5fb30d0 100644 --- a/tests/lang_stmts/defer/tdefer_malformed_many_children.nim +++ b/tests/lang_stmts/defer/tdefer_malformed_many_children.nim @@ -1,5 +1,5 @@ discard """ - description: "Empty `defer` body is not allowed (macro input)." + description: "`defer` must have exactly one child node (macro input)." errormsg: "illformed AST" file: "macros.nim" line: 618