()
| 302 | |
| 303 | #[test] |
| 304 | fn test_content_exceeds_limit() { |
| 305 | let v = validator(); |
| 306 | let content = "x".repeat(10 * 1024 + 1); // 10KB + 1 |
| 307 | let skill = make_skill("ok-skill", &content); |
| 308 | let err = v.validate(&skill).unwrap_err(); |
| 309 | assert_eq!(err.kind, ValidationErrorKind::ContentTooLarge); |
| 310 | } |
| 311 | |
| 312 | // --- Dangerous tools --- |
| 313 |
nothing calls this directly
no test coverage detected