(output: &Output)
| 98 | } |
| 99 | |
| 100 | fn assert_cb4b_refusal(output: &Output) { |
| 101 | assert!( |
| 102 | !output.status.success(), |
| 103 | "mismatched publication unexpectedly succeeded" |
| 104 | ); |
| 105 | let stderr = String::from_utf8_lossy(&output.stderr); |
| 106 | assert!( |
| 107 | stderr.contains("CB-4B publication equivalence failed"), |
| 108 | "unexpected stderr: {stderr}" |
| 109 | ); |
| 110 | assert!(stderr.contains("No publication mutation was attempted")); |
| 111 | } |
| 112 | |
| 113 | #[test] |
| 114 | fn git_push_mismatch_preserves_refs_index_odb_worktree_and_operation_heads() { |
no outgoing calls
no test coverage detected