Documentation ¶
Overview ¶
Package valtest_test defines a fakeValidator that can be used in tests
Index ¶
Constants ¶
View Source
const SAD = "i'm not happy Bob, NOT HAPPY"
SAD is an error string.
Variables ¶
This section is empty.
Functions ¶
func MakeFakeValidator ¶
func MakeFakeValidator() *fakeValidator
MakeFakeValidator makes an empty Fake Validator.
func MakeHappyMapValidator ¶
MakeHappyMapValidator makes a fakeValidator that always passes.
func MakeSadMapValidator ¶
MakeSadMapValidator makes a fakeValidator that always fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.