()
| 345 | } |
| 346 | |
| 347 | func ExampleInstance_DisplayOutput_noOutput() { |
| 348 | instance := &Instance{ |
| 349 | TargetVersions: map[string]string{ |
| 350 | "foo": "v1.16.0", |
| 351 | }, |
| 352 | Outputs: []*Output{ |
| 353 | testOutputNoOutput, |
| 354 | }, |
| 355 | OutputFormat: "normal", |
| 356 | Components: []string{"foo"}, |
| 357 | } |
| 358 | _ = instance.DisplayOutput() |
| 359 | |
| 360 | // Output: No output to display |
| 361 | } |
| 362 | |
| 363 | func ExampleInstance_DisplayOutput_zeroLength() { |
| 364 | instance := &Instance{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…