From 6218023a63935aabbecbac97617557f45fa6642d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Balv=C3=ADn?= Date: Wed, 7 Oct 2026 12:43:26 +0200 Subject: [PATCH] style(parser): range over the include chain depth Assisted-by: GLM 5.3 --- parser/preproc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/preproc_test.go b/parser/preproc_test.go index ce5af92..8183e28 100644 --- a/parser/preproc_test.go +++ b/parser/preproc_test.go @@ -502,7 +502,7 @@ func TestSelfIncludeIsDetected(t *testing.T) { func TestDeepIncludeChainCompletes(t *testing.T) { const depth = 2000 dir := t.TempDir() - for i := 0; i < depth; i++ { + for i := range depth { var content string if i == depth-1 { content = "#define DEEPEST $7\n"