()
| 381 | |
| 382 | #[test] |
| 383 | fn test_custom_max_content() { |
| 384 | let v = DefaultSkillValidator { |
| 385 | max_content_bytes: 100, |
| 386 | ..Default::default() |
| 387 | }; |
| 388 | let skill = make_skill("my-skill", &"x".repeat(101)); |
| 389 | let err = v.validate(&skill).unwrap_err(); |
| 390 | assert_eq!(err.kind, ValidationErrorKind::ContentTooLarge); |
| 391 | } |
| 392 | |
| 393 | // --- is_kebab_case unit tests --- |
| 394 |
nothing calls this directly
no test coverage detected