File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ func TestMarkdownFormatter_Format(t *testing.T) {
161
161
wantErr : false ,
162
162
},
163
163
{
164
- name : "Have 3 hosts (1 is down, skip down: true )" ,
164
+ name : "Have 3 hosts (1 is down)" ,
165
165
f : & MarkdownFormatter {},
166
166
args : args {
167
167
td : & TemplateData {
@@ -239,7 +239,7 @@ func TestMarkdownFormatter_Format(t *testing.T) {
239
239
},
240
240
wantErr : false ,
241
241
validate : func (f * MarkdownFormatter , output string , t * testing.T ) {
242
- expect := 2
242
+ expect := 3
243
243
re := regexp .MustCompile (`## 192\.168\.1\.\d+` )
244
244
actual := len (re .FindAllString (output , - 1 ))
245
245
if expect != actual {
@@ -248,7 +248,7 @@ func TestMarkdownFormatter_Format(t *testing.T) {
248
248
},
249
249
},
250
250
{
251
- name : "Have 3 hosts (1 is down, skip down: false) " ,
251
+ name : "Have 3 hosts" ,
252
252
f : & MarkdownFormatter {},
253
253
args : args {
254
254
td : & TemplateData {
@@ -335,7 +335,7 @@ func TestMarkdownFormatter_Format(t *testing.T) {
335
335
},
336
336
},
337
337
{
338
- name : "Have 3 ports (1 host is down, skip down: true )" ,
338
+ name : "Have 3 ports (1 host is down)" ,
339
339
f : & MarkdownFormatter {},
340
340
args : args {
341
341
td : & TemplateData {
You can’t perform that action at this time.
0 commit comments