Use builder_len instead of len on the underlying dynamic array

Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
Harold Brenes
2026-02-11 14:16:25 -05:00
committed by GitHub
parent 2899d09003
commit 0ee15453e7

View File

@@ -213,7 +213,7 @@ parse_cli_options :: proc(argv: []string, opts: ^Options, stdout, stderr: io.Wri
os.exit(-1)
}
if len(test_names.buf) > 0 {
if strings.builder_len(test_names) > 0 {
strings.write_byte(&test_names, ',')
}
strings.write_string(&test_names, tests)