From 895ebb95d5646c61a45df1cafc835cb96057c19e Mon Sep 17 00:00:00 2001 From: FourteenBrush Date: Thu, 25 Jan 2024 11:44:53 +0100 Subject: [PATCH] Need to unpack args --- core/testing/testing.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }