mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 13:00:28 +00:00
Use builder_len instead of len on the underlying dynamic array
Co-authored-by: Laytan <laytanlaats@hotmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user