Update test

This commit is contained in:
Juan Calderon-Perez 2025-05-20 22:50:51 -04:00 committed by GitHub
parent 5855c9e44c
commit c6e02ae0b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1359,7 +1359,7 @@ func Test_NewError_Format(t *testing.T) {
name: "format string + excess args",
code: StatusBadRequest,
in: args{"odd %d", 1, 2, 3},
want: "odd 1",
want: "odd 1%!(EXTRA int=2, int=3)",
},
{
name: "≥2 args but first not string",