(#[case] input: &[u8], #[case] changed: &[u8])
| 223 | #[case::blank_filename(b">f+++++++++ ", b"")] |
| 224 | fn rsync_changed(#[case] input: &[u8], #[case] changed: &[u8]) -> TestResult { |
| 225 | assert_eq!( |
| 226 | Report::parser(input)? |
| 227 | .file_content_updated()? |
| 228 | .ok_or("rsync reported no change")? |
| 229 | .as_os_str() |
| 230 | .as_bytes(), |
| 231 | changed |
| 232 | ); |
| 233 | Ok(()) |
| 234 | } |
| 235 | |
| 236 | #[rstest] |
| 237 | #[case::received( |
| 238 | b">f+++++++++ received_file.txt", |
nothing calls this directly
no outgoing calls
no test coverage detected