File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ impl CheckResult {
6767 matches ! ( self , Self :: Fail ( _) )
6868 }
6969
70- fn emoji ( & self ) -> & ' static str {
70+ fn symbol ( & self ) -> & ' static str {
7171 match self {
72- Self :: Pass ( _) => "✅ " ,
73- Self :: Fail ( _) => "❌ " ,
74- Self :: Skip ( _) => "⚪ " ,
72+ Self :: Pass ( _) => "pass " ,
73+ Self :: Fail ( _) => "fail " ,
74+ Self :: Skip ( _) => "skip " ,
7575 }
7676 }
7777
@@ -372,8 +372,8 @@ fn render_comment(reports: &[ToolReport]) -> String {
372372 }
373373
374374 for report in reports {
375- let status_icon = if report. any_fail ( ) { "❌ " } else { "✅ " } ;
376- out. push_str ( & format ! ( "### {} `{}`\n \n " , status_icon , report. name) ) ;
375+ let status = if report. any_fail ( ) { "FAIL " } else { "PASS " } ;
376+ out. push_str ( & format ! ( "### [{}] `{}`\n \n " , status , report. name) ) ;
377377
378378 if let Some ( src) = & report. source {
379379 out. push_str ( & format ! ( "Source: {src}\n \n " ) ) ;
@@ -394,7 +394,7 @@ fn render_comment(reports: &[ToolReport]) -> String {
394394 out. push_str ( & format ! (
395395 "| {} | {} {} |\n " ,
396396 label,
397- check. emoji ( ) ,
397+ check. symbol ( ) ,
398398 check. message( )
399399 ) ) ;
400400 }
You can’t perform that action at this time.
0 commit comments