diff options
| -rw-r--r-- | core/testing/testing.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testing/testing.odin b/core/testing/testing.odin index cd6051de3..e68fb121a 100644 --- a/core/testing/testing.odin +++ b/core/testing/testing.odin @@ -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 } |