(&self, other: &Output)
| 284 | |
| 285 | impl PartialEq<Output> for Spec { |
| 286 | fn eq(&self, other: &Output) -> bool { |
| 287 | self.exit_code.unwrap_or(0) == other.status.code().unwrap() |
| 288 | && matches_or_missing(&self.stdout, &other.stdout) |
| 289 | && matches_or_missing(&self.stderr, &other.stderr) |
| 290 | } |
| 291 | } |
| 292 | |
| 293 | fn matches_or_missing(a: &Option<String>, b: &[u8]) -> bool { |
nothing calls this directly
no test coverage detected