From 4920f6e9591ceed87c0fd08e93ae80a3d429c862 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Fri, 13 Mar 2026 13:05:59 -0400 Subject: [PATCH] Fix assemble_narrative_only test to expect branding footer The assemble_pr_body function unconditionally appends the "Generated with Fabro" footer, but this test was asserting the bare narrative. Co-Authored-By: Claude Opus 4.6 --- lib/crates/fabro-workflows/src/pull_request.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/crates/fabro-workflows/src/pull_request.rs b/lib/crates/fabro-workflows/src/pull_request.rs index b04a1790a..dbe55867d 100644 --- a/lib/crates/fabro-workflows/src/pull_request.rs +++ b/lib/crates/fabro-workflows/src/pull_request.rs @@ -693,7 +693,10 @@ mod tests { fn assemble_narrative_only() { let body = assemble_pr_body("Just the narrative.", None, "", ""); - assert_eq!(body, "Just the narrative."); + assert_eq!( + body, + "Just the narrative.\n\n\u{2692}\u{fe0f} Generated with [Fabro](https://fabro.sh)" + ); } #[test]