From 23877471b2f874ae622d17396c65c335b2cbf2ad Mon Sep 17 00:00:00 2001 From: Bung Date: Wed, 4 Oct 2023 01:03:55 +0800 Subject: [PATCH] Update nimsuggest/tests/terror_handling.nim Co-authored-by: zerbina <100542850+zerbina@users.noreply.github.com> --- nimsuggest/tests/terror_handling.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nimsuggest/tests/terror_handling.nim b/nimsuggest/tests/terror_handling.nim index 331d6d97181..be4790dba9d 100644 --- a/nimsuggest/tests/terror_handling.nim +++ b/nimsuggest/tests/terror_handling.nim @@ -1,4 +1,6 @@ -# Test ill formed AST will not causes crash and subsequent errors +# Ensure that AST not having the correct number of nodes doesn't cause +# crashes. This a regression test for `checkSonsMinLen` and +# `checkSonsLen` not aborting analysis. import std/macros