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 committed Dec 24, 2022
1 parent f37052a commit 1b80041
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 @@ -2478,6 +2478,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 1b80041

Please sign in to comment.