(root: &std::path::Path)
| 3354 | mod tests { |
| 3355 | #[cfg(test)] |
| 3356 | fn record_last_shim_operation_probe(root: &std::path::Path) -> CliResult<()> { |
| 3357 | // The marker writer is best-effort (returns ()). For the regression we |
| 3358 | // verify the WRITE against a real repository: the marker must appear. |
| 3359 | record_last_shim_operation(root); |
| 3360 | let marker = Repository::canonical_dot_dir(root) |
| 3361 | .map_err(CliError::from)? |
| 3362 | .join("bridge/suppressed-operation.json"); |
| 3363 | if marker.exists() { |
| 3364 | Ok(()) |
| 3365 | } else { |
| 3366 | Err(git_error( |
| 3367 | "the suppression attribution marker was not written", |
| 3368 | )) |
| 3369 | } |
| 3370 | } |
| 3371 | |
| 3372 | /// CB-13D ::24 AC-4 regression: a reconciled pass records the JOURNAL |
| 3373 | /// OperationId of its just-completed operation (plus the working-copy |
nothing calls this directly
no test coverage detected