File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ func BuildPRSections(incoming, outgoing []PR) []slack.Block {
140140 var indicator string
141141 switch {
142142 case prs [i ].NeedsReview :
143- indicator = ":large_red_circle :"
143+ indicator = ":red_circle :"
144144 case prs [i ].IsBlocked :
145- indicator = ":large_red_circle :"
145+ indicator = ":red_circle :"
146146 case prs [i ].ActionKind != "" :
147147 indicator = ":speech_balloon:"
148148 default :
Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ func TestBuildBlocks(t *testing.T) {
143143 foundBlockedPR := false
144144 for _ , block := range blocks {
145145 if sb , ok := block .(* slack.SectionBlock ); ok {
146- if sb .Text != nil && strings .Contains (sb .Text .Text , ":large_red_circle :" ) {
146+ if sb .Text != nil && strings .Contains (sb .Text .Text , ":red_circle :" ) {
147147 foundBlockedPR = true
148148 }
149149 }
150150 }
151151 if ! foundBlockedPR {
152- t .Error ("expected PR with :large_red_circle : indicating blocked incoming PR" )
152+ t .Error ("expected PR with :red_circle : indicating blocked incoming PR" )
153153 }
154154 },
155155 },
@@ -410,8 +410,8 @@ func TestBuildPRSections_SortOrder(t *testing.T) {
410410 }
411411
412412 // Verify color indicators
413- if ! strings .Contains (incomingText , ":large_red_circle :" ) {
414- t .Error ("incoming blocked PRs should use :large_red_circle :" )
413+ if ! strings .Contains (incomingText , ":red_circle :" ) {
414+ t .Error ("incoming blocked PRs should use :red_circle :" )
415415 }
416416 if ! strings .Contains (outgoingText , ":large_green_circle:" ) {
417417 t .Error ("outgoing blocked PRs should use :large_green_circle:" )
You can’t perform that action at this time.
0 commit comments