pub fn path_suffix_match(actual: &str, expected: &str) -> boolExpand description
Path-aware suffix match for conformance assertions.
Returns true when actual and expected refer to the same file:
- If they are identical →
true. - If
expectedis relative (no leading/or\) andactualends with/<expected>→true. - Otherwise →
false.
This handles the common case where fixtures record relative
filenames (SKILL.md) while the runtime returns absolute paths
(/data/projects/.../SKILL.md).