Remove deprecated log procs from core:testing

This commit is contained in:
Feoramund
2024-08-18 21:30:32 -04:00
parent 17eb0b5ee0
commit 0fa24ac3c4
4 changed files with 28 additions and 49 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ package testing
*/
import "base:runtime"
import pkg_log "core:log"
import "core:log"
Stop_Reason :: enum {
Unknown,
@@ -21,7 +21,7 @@ Stop_Reason :: enum {
}
test_assertion_failure_proc :: proc(prefix, message: string, loc: runtime.Source_Code_Location) -> ! {
pkg_log.fatalf("%s: %s", prefix, message, location = loc)
log.fatalf("%s: %s", prefix, message, location = loc)
runtime.trap()
}