Use plain sort for internal_tests

This commit is contained in:
Feoramund
2024-05-28 19:14:28 -04:00
parent 09ef08f035
commit 1afc235359

View File

@@ -192,7 +192,7 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
fmt.assertf(it.p != nil, "Test %s.%s has <nil> procedure.", it.pkg, it.name)
}
slice.stable_sort_by(internal_tests, proc(a, b: Internal_Test) -> bool {
slice.sort_by(internal_tests, proc(a, b: Internal_Test) -> bool {
if a.pkg == b.pkg {
return a.name < b.name
} else {