Skip to content

Commit

Permalink
fixed pkg/app tests
Browse files Browse the repository at this point in the history
Signed-off-by: Karol Ossowski <k@koralsky.pl>
  • Loading branch information
kkoralsky authored and mumoshu committed Jan 4, 2023
1 parent 43f024b commit 2994fe1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2479,6 +2479,10 @@ func (a applyConfig) ReuseValues() bool {
return a.reuseValues
}

func (a applyConfig) ResetValues() bool {
return !a.reuseValues
}

func (a applyConfig) PostRenderer() string {
return a.postRenderer
}
Expand Down
4 changes: 4 additions & 0 deletions pkg/app/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ func (a diffConfig) ReuseValues() bool {
return a.reuseValues
}

func (a diffConfig) ResetValues() bool {
return !a.reuseValues
}

func TestDiff(t *testing.T) {
type flags struct {
skipNeeds bool
Expand Down

0 comments on commit 2994fe1

Please sign in to comment.