(typ string, actualLen, expectedLen int)
| 31 | } |
| 32 | |
| 33 | func formMaxLenDesc(typ string, actualLen, expectedLen int) string { |
| 34 | return fmt.Sprintf("%s length is %d, should have less than %d chars", typ, actualLen, expectedLen) |
| 35 | } |
| 36 | |
| 37 | func formMaxLineLenDesc(typ string, expectedLen int) string { |
| 38 | return fmt.Sprintf("each %s line should have less than %d chars", typ, expectedLen) |