()
| 427 | |
| 428 | #[test] |
| 429 | fn test_skill_matcher_pattern() { |
| 430 | // Test glob pattern matching for skill names |
| 431 | let matcher = HookMatcher::skill("test-*"); |
| 432 | |
| 433 | let test_skill = make_skill_load_event("test-skill"); |
| 434 | let test_other = make_skill_load_event("test-other"); |
| 435 | let no_match = make_skill_load_event("other-skill"); |
| 436 | |
| 437 | assert!(matcher.matches(&test_skill)); |
| 438 | assert!(matcher.matches(&test_other)); |
| 439 | assert!(!matcher.matches(&no_match)); |
| 440 | } |
| 441 | |
| 442 | #[test] |
| 443 | fn test_skill_matcher_unload_event() { |
nothing calls this directly
no test coverage detected