@@ -328,12 +328,12 @@ func Test_TreePrefix(t *testing.T) {
328
328
return objectTree
329
329
}(),
330
330
expectPrefix : []string {
331
- "Object/root Available: False NotAvailable" ,
332
- "│ second line" ,
333
- "├─Object/child1 Available: False NotAvailable" ,
334
- "│ second line" ,
335
- "└─Object/child2 Available: False NotAvailable" ,
336
- " second line" ,
331
+ "Object/root False NotAvailable" ,
332
+ "│ second line" ,
333
+ "├─Object/child1 False NotAvailable" ,
334
+ "│ second line" ,
335
+ "└─Object/child2 False NotAvailable" ,
336
+ " second line" ,
337
337
},
338
338
},
339
339
{
@@ -362,10 +362,10 @@ func Test_TreePrefix(t *testing.T) {
362
362
return obectjTree
363
363
}(),
364
364
expectPrefix : []string {
365
- "Object/root Available: True Available" ,
366
- "├─Object/child1 Available: True Available" ,
367
- "└─Object/child2 Available: False NotAvailable" ,
368
- " │ second line" ,
365
+ "Object/root True Available" ,
366
+ "├─Object/child1 True Available" ,
367
+ "└─Object/child2 False NotAvailable" ,
368
+ " │ second line" ,
369
369
" └─Object/child2.1" ,
370
370
},
371
371
},
@@ -404,16 +404,16 @@ func Test_TreePrefix(t *testing.T) {
404
404
return obectjTree
405
405
}(),
406
406
expectPrefix : []string {
407
- "Object/root Available: True Available" ,
408
- "├─Object/child1 Available: True Available" ,
409
- "│ └─Object/child2 Available: False NotAvailable" ,
410
- "│ │ second line" ,
411
- "│ └─Object/child3 Available: False NotAvailable" ,
412
- "│ │ second line" ,
413
- "│ └─Object/child4 Available: False NotAvailable" ,
414
- "│ second line" ,
415
- "└─Object/child5 Available: False NotAvailable" ,
416
- " second line" ,
407
+ "Object/root True Available" ,
408
+ "├─Object/child1 True Available" ,
409
+ "│ └─Object/child2 False NotAvailable" ,
410
+ "│ │ second line" ,
411
+ "│ └─Object/child3 False NotAvailable" ,
412
+ "│ │ second line" ,
413
+ "│ └─Object/child4 False NotAvailable" ,
414
+ "│ second line" ,
415
+ "└─Object/child5 False NotAvailable" ,
416
+ " second line" ,
417
417
},
418
418
},
419
419
{
@@ -447,14 +447,14 @@ func Test_TreePrefix(t *testing.T) {
447
447
return obectjTree
448
448
}(),
449
449
expectPrefix : []string {
450
- "Object/root Available: True Available" ,
451
- "└─Object/child1 Available: True Available" ,
452
- " └─Object/child2 Available: False NotAvailable" ,
453
- " │ second line" ,
454
- " └─Object/child3 Available: False NotAvailable" ,
455
- " │ second line" ,
456
- " └─Object/child4 Available: False NotAvailable" ,
457
- " second line" ,
450
+ "Object/root True Available" ,
451
+ "└─Object/child1 True Available" ,
452
+ " └─Object/child2 False NotAvailable" ,
453
+ " │ second line" ,
454
+ " └─Object/child3 False NotAvailable" ,
455
+ " │ second line" ,
456
+ " └─Object/child4 False NotAvailable" ,
457
+ " second line" ,
458
458
},
459
459
},
460
460
{
@@ -493,16 +493,16 @@ func Test_TreePrefix(t *testing.T) {
493
493
return obectjTree
494
494
}(),
495
495
expectPrefix : []string {
496
- "Object/root Available: True Available" ,
497
- "├─Object/child1 Available: True Available" ,
498
- "├─Object/child2 Available: False NotAvailable" ,
499
- "│ │ second line" ,
500
- "│ └─Object/child2.1 Available: False NotAvailable" ,
501
- "│ second line" ,
502
- "└─Object/child3 Available: False NotAvailable" ,
503
- " │ second line" ,
504
- " └─Object/child3.1 Available: False NotAvailable" ,
505
- " second line" ,
496
+ "Object/root True Available" ,
497
+ "├─Object/child1 True Available" ,
498
+ "├─Object/child2 False NotAvailable" ,
499
+ "│ │ second line" ,
500
+ "│ └─Object/child2.1 False NotAvailable" ,
501
+ "│ second line" ,
502
+ "└─Object/child3 False NotAvailable" ,
503
+ " │ second line" ,
504
+ " └─Object/child3.1 False NotAvailable" ,
505
+ " second line" ,
506
506
},
507
507
},
508
508
}
0 commit comments