Skip to content

Commit

Permalink
fix(util/gvalid): update response message in Test_Issue3636 to includ…
Browse files Browse the repository at this point in the history
…e "OK"
  • Loading branch information
hailaz committed Feb 20, 2025
1 parent af3d2ec commit 5cdeae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/gvalid/gvalid_z_unit_issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func Test_Issue3636(t *testing.T) {
c.SetPrefix(fmt.Sprintf("http://127.0.0.1:%d", s.GetListenedPort()))
t.Assert(
c.PostContent(ctx, "/hello", `{"name": "t", "s" : []}`),
`{"code":0,"message":"","data":{"name":"t","s":[]}}`,
`{"code":0,"message":"OK","data":{"name":"t","s":[]}}`,
)
})
}

0 comments on commit 5cdeae4

Please sign in to comment.