@@ -328,12 +328,12 @@ func Test_TreePrefix(t *testing.T) {
328328 return objectTree
329329 }(),
330330 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" ,
337337 },
338338 },
339339 {
@@ -362,10 +362,10 @@ func Test_TreePrefix(t *testing.T) {
362362 return obectjTree
363363 }(),
364364 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" ,
369369 " └─Object/child2.1" ,
370370 },
371371 },
@@ -404,16 +404,16 @@ func Test_TreePrefix(t *testing.T) {
404404 return obectjTree
405405 }(),
406406 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" ,
417417 },
418418 },
419419 {
@@ -447,14 +447,14 @@ func Test_TreePrefix(t *testing.T) {
447447 return obectjTree
448448 }(),
449449 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" ,
458458 },
459459 },
460460 {
@@ -493,16 +493,16 @@ func Test_TreePrefix(t *testing.T) {
493493 return obectjTree
494494 }(),
495495 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" ,
506506 },
507507 },
508508 }
0 commit comments