Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Nov 26, 2024
1 parent 8993817 commit 1f091da
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions pkg/kor/kor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,58 +235,3 @@ func TestNamespacedMessageSuffix(t *testing.T) {
})
}
}

// func TestFormatOutput(t *testing.T) {
// type args struct {
// namespace string
// resources []string
// verbose bool
// }
// tests := []struct {
// name string
// args args
// want string
// }{
// {
// name: "verbose, empty namespace, empty resource list",
// args: args{
// namespace: "",
// resources: []string{},
// verbose: true,
// },
// want: "No unused TestType found\n",
// },
// {
// name: "verbose, non empty namespace, empty resource list",
// args: args{
// namespace: "test-ns",
// resources: []string{},
// verbose: true,
// },
// want: "No unused TestType found in namespace test-ns\n",
// },
// {
// name: "non verbose, empty namespace, empty resource list",
// args: args{
// namespace: "",
// resources: []string{},
// verbose: false,
// },
// want: "",
// },
// }

// for _, tt := range tests {
// t.Run(tt.name, func(t *testing.T) {
// if got := FormatOutput(
// tt.args.namespace,
// tt.args.resources,
// "TestType",
// Opts{Verbose: tt.args.verbose},
// ); got != tt.want {
// t.Errorf("FormatOutput() = '%v', want '%v'", got, tt.want)
// }
// })
// }

// }

0 comments on commit 1f091da

Please sign in to comment.