Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdesouza committed Nov 8, 2023
1 parent 539a686 commit 5c01080
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/api/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ var testOutputDeprecatedNotRemoved = &Output{
ReplacementAPI: "none",
Component: "foo",
},
ReplacementAvailable: false,
}

func init() {
Expand All @@ -109,7 +110,7 @@ func ExampleInstance_DisplayOutput_normal() {
// NAME-------------------- KIND-------- VERSION------------- REPLACEMENT-- REMOVED-- DEPRECATED-- REPL AVAIL--
// some name one----------- Deployment-- extensions/v1beta1-- apps/v1------ true----- true-------- true--------
// some name two----------- Deployment-- extensions/v1beta1-- apps/v1------ true----- true-------- true--------
// deprecated not removed-- Deployment-- apps/v1------------- none--------- false---- true-------- true--------
// deprecated not removed-- Deployment-- apps/v1------------- none--------- false---- true-------- false--------
}

func ExampleInstance_DisplayOutput_onlyShowRemoved() {
Expand Down

0 comments on commit 5c01080

Please sign in to comment.