MCPcopy Create free account
hub / github.com/assert-rs/assert_cmd / into_output_from_pred

Function into_output_from_pred

src/assert.rs:1194–1197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1192
1193 #[test]
1194 fn into_output_from_pred() {
1195 let pred = convert_output(predicate::eq(b"Hello" as &[u8]));
1196 assert!(pred.eval(b"Hello" as &[u8]));
1197 }
1198
1199 #[test]
1200 fn into_output_from_bytes() {

Callers

nothing calls this directly

Calls 1

convert_outputFunction · 0.85

Tested by

no test coverage detected