@@ -50,7 +50,7 @@ func TestRenderDiffMarkdown(t *testing.T) {
5050 wantAll : []string {
5151 "### Workstations" ,
5252 "**Policies:**" ,
53- "\n ➕" ,
53+ " ➕" ,
5454 "`[macOS] FileVault`" ,
5555 "1 added" ,
5656 },
@@ -79,7 +79,7 @@ func TestRenderDiffMarkdown(t *testing.T) {
7979 }},
8080 wantAll : []string {
8181 "`Disk Usage`" ,
82- "\n 🔶" ,
82+ " 🔶" ,
8383 "`interval`" ,
8484 "`3600`" ,
8585 "`7200`" ,
@@ -94,7 +94,7 @@ func TestRenderDiffMarkdown(t *testing.T) {
9494 Deleted : []diff.ResourceChange {{Name : "OldApp" , Warning : "in use by 10 hosts" }},
9595 },
9696 }},
97- wantAll : []string {"`OldApp`" , "\n ❌" , "⚠️" , "in use by 10 hosts" },
97+ wantAll : []string {"`OldApp`" , " ❌" , "⚠️" , "in use by 10 hosts" },
9898 wantNone : []string {"\n - ❌" },
9999 },
100100 {
@@ -103,7 +103,7 @@ func TestRenderDiffMarkdown(t *testing.T) {
103103 Team : "BadTeam" ,
104104 Errors : []string {"parse error in team YAML" },
105105 }},
106- wantAll : []string {"parse error in team YAML" , "\n ⚠️" },
106+ wantAll : []string {"parse error in team YAML" , " ⚠️" },
107107 wantNone : []string {"**WARNING**" , "\n - ⚠️" },
108108 },
109109 {
@@ -117,8 +117,8 @@ func TestRenderDiffMarkdown(t *testing.T) {
117117 }},
118118 wantAll : []string {
119119 "### Labels" ,
120- "\n 🏷️" ,
121- "\n 🚫" ,
120+ " 🏷️" ,
121+ " 🚫" ,
122122 "`x86-64`" ,
123123 "100 hosts" ,
124124 "`Ghost Label`" ,
@@ -152,7 +152,7 @@ func TestRenderDiffMarkdown(t *testing.T) {
152152 }},
153153 wantAll : []string {
154154 "**Policies:**" , "**Queries:**" , "**Software:**" , "**Profiles:**" ,
155- "\n ➕" , "\n 🔶" , "\n ❌" ,
155+ " ➕" , " 🔶" , " ❌" ,
156156 },
157157 wantNone : []string {"\n - ➕" , "\n - 🔶" , "\n - ❌" },
158158 },
0 commit comments