Merge pull request #3764 from Feoramund/test-runner-fixes

Fix half-implemented features in the test runner
This commit is contained in:
gingerBill
2024-06-15 16:19:58 +01:00
committed by GitHub
3 changed files with 52 additions and 20 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ package test_core_slice
import "core:slice"
import "core:testing"
import "core:math/rand"
import "core:log"
@test
test_sort_with_indices :: proc(t: ^testing.T) {
@@ -207,7 +208,7 @@ test_permutation_iterator :: proc(t: ^testing.T) {
n += item
}
if n in seen {
testing.fail_now(t, "Permutation iterator made a duplicate permutation.")
log.error("Permutation iterator made a duplicate permutation.")
return
}
seen[n] = true