Skip to content

Commit

Permalink
Fix ctx autoformat unit-test
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby committed Jul 21, 2024
1 parent fdb7cde commit ef22517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ func Test_Ctx_AutoFormat_Struct(t *testing.T) {
err := c.AutoFormat(data)
require.NoError(t, err)
require.Equal(t,
`{"Recipients":["Alice","Bob"],"Sender":"Carol","Urgency":3}`,
`{"Sender":"Carol","Recipients":["Alice","Bob"],"Urgency":3}`,
string(c.Response().Body()),
)

Expand Down

0 comments on commit ef22517

Please sign in to comment.