(ctx: &mut ValidationContext, short_desc: &str)
| 599 | } |
| 600 | |
| 601 | fn check_plugin_short_description(ctx: &mut ValidationContext, short_desc: &str) { |
| 602 | if short_desc.chars().count() > 150 { |
| 603 | ctx.push_field_error( |
| 604 | "short_description", |
| 605 | "short description can be max 150 characters long".to_string(), |
| 606 | ); |
| 607 | } |
| 608 | } |
| 609 | |
| 610 | fn check_plugin_long_description(ctx: &mut ValidationContext, long_desc: &str) { |
| 611 | if long_desc.chars().count() > 4000 { |
no test coverage detected