mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Use plain sort for internal_tests
This commit is contained in:
@@ -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)
|
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 {
|
if a.pkg == b.pkg {
|
||||||
return a.name < b.name
|
return a.name < b.name
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user