(output: &Output)
| 407 | } |
| 408 | |
| 409 | fn parse_hook_json(output: &Output) -> Value { |
| 410 | let line = String::from_utf8_lossy(&output.stdout) |
| 411 | .lines() |
| 412 | .find(|line| line.starts_with('{')) |
| 413 | .expect("hook JSON result") |
| 414 | .to_string(); |
| 415 | serde_json::from_str(&line).expect("parse hook JSON result") |
| 416 | } |
| 417 | |
| 418 | fn assert_incomplete_hook_result( |
| 419 | fixture: &Fixture, |
no test coverage detected