mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-19 14:11:07 +00:00
Update core/testing/runner.odin
for each style loop Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user