Move assert to implementation file

This commit is contained in:
gingerBill
2021-10-11 20:07:39 +01:00
parent b67e0002c1
commit 3a60bee804
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -99,6 +99,5 @@ expect_value :: proc(t: ^T, value, expected: $T, loc := #caller_location) -> boo
set_fail_timeout :: proc(t: ^T, duration: time.Duration, loc := #caller_location) {
assert(global_fail_timeout_thread == nil, "set_fail_timeout previously called", loc)
_fail_timeout(t, duration, loc)
}