diff options
| author | FourteenBrush <naessensarthur2@protonmail.com> | 2024-01-25 11:44:53 +0100 |
|---|---|---|
| committer | FourteenBrush <naessensarthur2@protonmail.com> | 2024-01-25 11:44:53 +0100 |
| commit | 895ebb95d5646c61a45df1cafc835cb96057c19e (patch) | |
| tree | 4cc466c427c729fd2cde1bf1d70a5aa2c53a0085 /core | |
| parent | 3a5d80b291139bc3789eda28081efdd95743838b (diff) | |
Need to unpack args
Diffstat (limited to 'core')
| -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 } |