MCPcopy Create free account
hub / github.com/assert-rs/assert_fs / into_path_from_pred

Function into_path_from_pred

src/assert.rs:470–475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468
469 #[test]
470 fn into_path_from_pred() {
471 let pred = convert_path(predicate::eq(path::Path::new("hello.md")));
472 let case = pred.find_case(false, path::Path::new("hello.md"));
473 println!("Failing case: {case:?}");
474 assert!(case.is_none());
475 }
476
477 #[test]
478 fn into_path_from_bytes() {

Callers

nothing calls this directly

Calls 2

convert_pathFunction · 0.85
find_caseMethod · 0.80

Tested by

no test coverage detected