mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 18:10:59 +00:00
Update full linter list and enable some easily resolved new ones
This commit is contained in:
@@ -22,11 +22,13 @@ const SAD = "i'm not happy Bob, NOT HAPPY"
|
||||
|
||||
// MakeHappyMapValidator makes a fakeValidator that always passes.
|
||||
func MakeHappyMapValidator(t *testing.T) *fakeValidator {
|
||||
t.Helper()
|
||||
return &fakeValidator{happy: true, t: t}
|
||||
}
|
||||
|
||||
// MakeSadMapValidator makes a fakeValidator that always fails.
|
||||
func MakeSadMapValidator(t *testing.T) *fakeValidator {
|
||||
t.Helper()
|
||||
return &fakeValidator{happy: false, t: t}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user