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

Function convert_output

src/assert.rs:1185–1191  ·  view source on GitHub ↗

Since IntoOutputPredicate exists solely for conversion, test it under that scenario to ensure it works as expected.

(pred: I)

Source from the content-addressed store, hash-verified

1183 // Since IntoOutputPredicate exists solely for conversion, test it under that scenario to ensure
1184 // it works as expected.
1185 fn convert_output<I, P>(pred: I) -> P
1186 where
1187 I: IntoOutputPredicate<P>,
1188 P: Predicate<[u8]>,
1189 {
1190 pred.into_output()
1191 }
1192
1193 #[test]
1194 fn into_output_from_pred() {

Callers 4

into_output_from_predFunction · 0.85
into_output_from_bytesFunction · 0.85
into_output_from_vecFunction · 0.85
into_output_from_strFunction · 0.85

Calls 1

into_outputMethod · 0.80

Tested by 4

into_output_from_predFunction · 0.68
into_output_from_bytesFunction · 0.68
into_output_from_vecFunction · 0.68
into_output_from_strFunction · 0.68