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