@@ -632,7 +632,7 @@ class TestRenderJobSummary(unittest.TestCase):
632632 def test_all_pass (self ):
633633 body = main .render_job_summary ([pass_scope ("Branch" , value = "main" )])
634634 self .assertTrue (body .startswith (main .REPORT_TITLE ))
635- self .assertIn ("All checks passed (1 scope)" , body )
635+ self .assertIn ("✅ **1 passed** (1 scope)" , body )
636636 self .assertIn ("<details>" , body )
637637 self .assertIn ("<summary>Show details</summary>" , body )
638638 self .assertIn ("```text" , body )
@@ -669,7 +669,7 @@ def test_all_pass_without_value_shows_plain_label(self):
669669 def test_failure_renders_table_with_rule_links (self ):
670670 body = main .render_job_summary ([fail_scope ("Commit 1/1" )])
671671 self .assertTrue (body .startswith (main .REPORT_TITLE ))
672- self .assertIn ("**1 failure** across 1 scope" , body )
672+ self .assertIn ("❌ **1 failure** · ✅ **0 passed** ( 1 scope) " , body )
673673 self .assertIn ("| Scope | Checked value | Failed checks | Result |" , body )
674674 self .assertIn (
675675 "| Commit 1/1 | `bad message` | "
@@ -704,14 +704,14 @@ def test_all_pass_matches_job_summary(self):
704704 summary = main .render_job_summary ([pass_scope ("Branch" )])
705705 self .assertEqual (comment , summary )
706706 self .assertTrue (comment .startswith (main .REPORT_TITLE ))
707- self .assertIn ("All checks passed (1 scope)" , comment )
707+ self .assertIn ("✅ **1 passed** (1 scope)" , comment )
708708
709709 def test_failure_matches_job_summary (self ):
710710 comment = main .render_pr_comment ([fail_scope ("Commit 1/1" )])
711711 summary = main .render_job_summary ([fail_scope ("Commit 1/1" )])
712712 self .assertEqual (comment , summary )
713713 self .assertTrue (comment .startswith (main .REPORT_TITLE ))
714- self .assertIn ("**1 failure** across 1 scope" , comment )
714+ self .assertIn ("❌ **1 failure** · ✅ **0 passed** ( 1 scope) " , comment )
715715 self .assertIn ("| Scope | Checked value | Failed checks | Result |" , comment )
716716
717717
@@ -741,7 +741,7 @@ def test_success_writes_policy_report(self):
741741 self .assertEqual (rc , 0 )
742742 with open (summary_path , encoding = "utf-8" ) as file_obj :
743743 content = file_obj .read ()
744- self .assertIn ("All checks passed" , content )
744+ self .assertIn ("✅ **1 passed** (1 scope) " , content )
745745
746746 def test_failure_returns_nonzero (self ):
747747 summary_path = os .path .join (tempfile .mkdtemp (), "summary.txt" )
0 commit comments