(t *testing.T)
| 1779 | } |
| 1780 | |
| 1781 | func Test_Client_QueryParam_With_Server(t *testing.T) { |
| 1782 | handler := func(c fiber.Ctx) error { |
| 1783 | _, _ = c.WriteString(c.Query("k1")) //nolint:errcheck // It is fine to ignore the error here |
| 1784 | _, _ = c.WriteString(c.Query("k2")) //nolint:errcheck // It is fine to ignore the error here |
| 1785 | |
| 1786 | return nil |
| 1787 | } |
| 1788 | |
| 1789 | wrapAgent := func(c *Client) { |
| 1790 | c.SetParam("k1", "v1"). |
| 1791 | AddParam("k2", "v2") |
| 1792 | } |
| 1793 | |
| 1794 | testClient(t, handler, wrapAgent, "v1v2") |
| 1795 | } |
| 1796 | |
| 1797 | func Test_Client_PathParam(t *testing.T) { |
| 1798 | t.Parallel() |
nothing calls this directly
no test coverage detected