From cac90a84fcc8c587724494ab6cd0295b1b3aadc4 Mon Sep 17 00:00:00 2001 From: Harold Brenes Date: Wed, 11 Feb 2026 14:09:33 -0500 Subject: [PATCH] Update core/testing/runner.odin for each style loop Co-authored-by: Laytan --- core/testing/runner.odin | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/testing/runner.odin b/core/testing/runner.odin index a2e21235f..f4cab2815 100644 --- a/core/testing/runner.odin +++ b/core/testing/runner.odin @@ -205,8 +205,7 @@ Options :: struct { parse_cli_options :: proc(argv: []string, opts: ^Options, stdout, stderr: io.Writer) { test_names: strings.Builder - for i := 0; i < len(argv); i+=1 { - arg := argv[i] + for arg in argv { if strings.starts_with(arg, "-tests:") { tests := arg[strings.index(arg, ":")+1:] if len(tests) < 1 {