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

Function into_path_from_bytes

src/assert.rs:478–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476
477 #[test]
478 fn into_path_from_bytes() {
479 let pred = convert_path(b"hello\n" as &[u8]);
480 let case = pred.find_case(false, path::Path::new("tests/fixture/hello.txt"));
481 println!("Failing case: {case:?}");
482 assert!(case.is_none());
483 }
484
485 #[test]
486 fn into_path_from_str() {

Callers

nothing calls this directly

Calls 2

convert_pathFunction · 0.85
find_caseMethod · 0.80

Tested by

no test coverage detected