(root: &Path, message: &str)
| 27 | } |
| 28 | |
| 29 | fn record(root: &Path, message: &str) { |
| 30 | run( |
| 31 | root, |
| 32 | &[ |
| 33 | "record", |
| 34 | "-a", |
| 35 | "-m", |
| 36 | message, |
| 37 | "--author", |
| 38 | "Test <test@example.invalid>", |
| 39 | ], |
| 40 | ); |
| 41 | } |
| 42 | |
| 43 | fn history(root: &Path, view: &str) -> Value { |
| 44 | serde_json::from_str(&run(root, &["log", "--view", view, "--format", "json"])).unwrap() |
no test coverage detected