(tb testing.TB, c *proto.Client, args ...interface{})
| 257 | } |
| 258 | |
| 259 | func directDoFloatErr(tb testing.TB, c *proto.Client, args ...interface{}) (float64, error) { |
| 260 | tb.Helper() |
| 261 | argList := interfaceToString(args) |
| 262 | |
| 263 | res, err := c.Do(argList...) |
| 264 | ok(tb, err) |
| 265 | i, err := proto.ReadString(res) |
| 266 | ok(tb, err) |
| 267 | return strconv.ParseFloat(i, 64) |
| 268 | } |
| 269 | |
| 270 | func directDoBool(tb testing.TB, c *proto.Client, args ...interface{}) bool { |
| 271 | tb.Helper() |
no test coverage detected