Since IntoPathPredicate exists solely for conversion, test it under that scenario to ensure it works as expected.
(pred: I)
| 459 | // Since IntoPathPredicate exists solely for conversion, test it under that scenario to ensure |
| 460 | // it works as expected. |
| 461 | fn convert_path<I, P>(pred: I) -> P |
| 462 | where |
| 463 | I: IntoPathPredicate<P>, |
| 464 | P: Predicate<path::Path>, |
| 465 | { |
| 466 | pred.into_path() |
| 467 | } |
| 468 | |
| 469 | #[test] |
| 470 | fn into_path_from_pred() { |