(tb testing.TB, c *proto.Client, args ...interface{})
| 192 | } |
| 193 | |
| 194 | func directDoString(tb testing.TB, c *proto.Client, args ...interface{}) string { |
| 195 | tb.Helper() |
| 196 | argList := interfaceToString(args) |
| 197 | |
| 198 | res, err := c.Do(argList...) |
| 199 | ok(tb, err) |
| 200 | str, err := proto.Parse(res) |
| 201 | ok(tb, err) |
| 202 | s, _ := str.(string) |
| 203 | return s |
| 204 | } |
| 205 | |
| 206 | func directDoStringArrErr(tb testing.TB, c *proto.Client, args ...interface{}) ([]string, error) { |
| 207 | tb.Helper() |
no test coverage detected