addFormatterTest is a helper method to append the passed input and desired result to formatterTests.
(format string, in interface{}, wants ...string)
| 88 | // addFormatterTest is a helper method to append the passed input and desired |
| 89 | // result to formatterTests. |
| 90 | func addFormatterTest(format string, in interface{}, wants ...string) { |
| 91 | test := formatterTest{format, in, wants} |
| 92 | formatterTests = append(formatterTests, test) |
| 93 | } |
| 94 | |
| 95 | func addIntFormatterTests() { |
| 96 | // Max int8. |
no outgoing calls
no test coverage detected
searching dependent graphs…