mustOK is a mustDo() which expects an "OK" response
(tb testing.TB, c *proto.Client, args ...string)
| 89 | |
| 90 | // mustOK is a mustDo() which expects an "OK" response |
| 91 | func mustOK(tb testing.TB, c *proto.Client, args ...string) { |
| 92 | tb.Helper() |
| 93 | mustDo(tb, c, append(args, proto.Inline("OK"))...) |
| 94 | } |
| 95 | |
| 96 | // mustNil is a mustDo() which expects a nil response |
| 97 | func mustNil(tb testing.TB, c *proto.Client, args ...string) { |
no test coverage detected