@@ -54,7 +54,7 @@ func TestCheck(t *testing.T) {
5454 pass := Check (buf , cfg )
5555 assert .True (t , pass )
5656 assertGithubActionErrorsCount (t , buf .String (), 0 )
57- assertHumanReport (t , buf .String (), 3 , 0 )
57+ assertHumanReport (t , buf .String (), 1 , 0 )
5858 })
5959
6060 t .Run ("valid profile with exclude - pass" , func (t * testing.T ) {
@@ -71,7 +71,7 @@ func TestCheck(t *testing.T) {
7171 pass := Check (buf , cfg )
7272 assert .True (t , pass )
7373 assertGithubActionErrorsCount (t , buf .String (), 0 )
74- assertHumanReport (t , buf .String (), 3 , 0 )
74+ assertHumanReport (t , buf .String (), 1 , 0 )
7575 })
7676
7777 t .Run ("valid profile - fail" , func (t * testing.T ) {
@@ -82,7 +82,7 @@ func TestCheck(t *testing.T) {
8282 pass := Check (buf , cfg )
8383 assert .False (t , pass )
8484 assertGithubActionErrorsCount (t , buf .String (), 0 )
85- assertHumanReport (t , buf .String (), 2 , 1 )
85+ assertHumanReport (t , buf .String (), 0 , 1 )
8686 assert .GreaterOrEqual (t , strings .Count (buf .String (), prefix ), 0 )
8787 })
8888
@@ -95,7 +95,7 @@ func TestCheck(t *testing.T) {
9595 pass := Check (buf , cfg )
9696 assert .True (t , pass )
9797 assertGithubActionErrorsCount (t , buf .String (), 0 )
98- assertHumanReport (t , buf .String (), 3 , 0 )
98+ assertHumanReport (t , buf .String (), 1 , 0 )
9999 assert .Equal (t , 0 , strings .Count (buf .String (), prefix ))
100100 })
101101
@@ -111,7 +111,7 @@ func TestCheck(t *testing.T) {
111111 pass := Check (buf , cfg )
112112 assert .True (t , pass )
113113 assertGithubActionErrorsCount (t , buf .String (), 0 )
114- assertHumanReport (t , buf .String (), 3 , 0 )
114+ assertHumanReport (t , buf .String (), 1 , 0 )
115115 assert .GreaterOrEqual (t , strings .Count (buf .String (), prefix ), 0 )
116116 })
117117
@@ -127,7 +127,7 @@ func TestCheck(t *testing.T) {
127127 pass := Check (buf , cfg )
128128 assert .False (t , pass )
129129 assertGithubActionErrorsCount (t , buf .String (), 0 )
130- assertHumanReport (t , buf .String (), 1 , 2 )
130+ assertHumanReport (t , buf .String (), 0 , 1 )
131131 assert .GreaterOrEqual (t , strings .Count (buf .String (), prefix ), 0 )
132132 })
133133
@@ -172,7 +172,7 @@ func TestCheckNoParallel(t *testing.T) {
172172 pass := Check (buf , cfg )
173173 assert .True (t , pass )
174174 assertGithubActionErrorsCount (t , buf .String (), 0 )
175- assertHumanReport (t , buf .String (), 3 , 0 )
175+ assertHumanReport (t , buf .String (), 1 , 0 )
176176 assertGithubOutputValues (t , testFile )
177177 })
178178
@@ -185,7 +185,7 @@ func TestCheckNoParallel(t *testing.T) {
185185 pass := Check (buf , cfg )
186186 assert .False (t , pass )
187187 assertGithubActionErrorsCount (t , buf .String (), 1 )
188- assertHumanReport (t , buf .String (), 2 , 1 )
188+ assertHumanReport (t , buf .String (), 0 , 1 )
189189 assertGithubOutputValues (t , testFile )
190190 })
191191}
0 commit comments