mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-05 03:44:45 -04:00
Need to unpack args
This commit is contained in:
1 parent
3a5d80b291
commit
895ebb95d5
1 file changed
+1
-1
@@ -94,7 +94,7 @@ expect :: proc(t: ^T, ok: bool, msg: string = "", loc := #caller_location) -> bo
|
||||
|
||||
expectf :: proc(t: ^T, ok: bool, format: string, args: ..any, loc := #caller_location) -> bool {
|
||||
if !ok {
|
||||
errorf(t, format, args, loc=loc)
|
||||
errorf(t, format, ..args, loc=loc)
|
||||
}
|
||||
return ok
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user