The Decode array-to-struct test currently passes the error string and input value to t.Errorf in the wrong order.
This makes the failure output misleading and can also be reported by newer Go vet checks because the argument types do not match the format string intent.
I have a one-line test-only fix ready that swaps the arguments so the message matches the format string.
The Decode array-to-struct test currently passes the error string and input value to
t.Errorfin the wrong order.This makes the failure output misleading and can also be reported by newer Go vet checks because the argument types do not match the format string intent.
I have a one-line test-only fix ready that swaps the arguments so the message matches the format string.