style(parser): range over the include chain depth

Assisted-by: GLM 5.3
This commit is contained in:
petrbalvin committed 2026-10-07 13:54:42 +02:00
1 parent 71cc65ea48
commit 6218023a63
1 file changed
+1 -1
+1 -1
View File
@@ -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"