()
| 416 | |
| 417 | #[test] |
| 418 | fn test_skill_matcher() { |
| 419 | let matcher = HookMatcher::skill("my-skill"); |
| 420 | |
| 421 | let matching_event = make_skill_load_event("my-skill"); |
| 422 | let non_matching_event = make_skill_load_event("other-skill"); |
| 423 | |
| 424 | assert!(matcher.matches(&matching_event)); |
| 425 | assert!(!matcher.matches(&non_matching_event)); |
| 426 | } |
| 427 | |
| 428 | #[test] |
| 429 | fn test_skill_matcher_pattern() { |
nothing calls this directly
no test coverage detected