Documentation
¶
Overview ¶
Package validationtest contains helper functions for testing purposes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertIsViolation ¶
func AssertIsViolation(t *testing.T, err error, assert AssertViolationFunc) bool
func AssertIsViolationList ¶
func AssertIsViolationList(t *testing.T, err error, assert AssertViolationListFunc) bool
Types ¶
type AssertViolationFunc ¶
type AssertViolationFunc func(t *testing.T, violation validation.Violation) bool
type AssertViolationListFunc ¶
type AssertViolationListFunc func(t *testing.T, violations []validation.Violation) bool
Click to show internal directories.
Click to hide internal directories.