Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestData ¶
func RunTestData(t *testing.T, prefix string, check func(t *testing.T, input, golden *bytes.Buffer))
RunTestData runs all the tests resides in the `testdata` directory and their input/golden file has the following prefix using the `check` function the caller can easily consume the test file input and compare the actual result with the golden one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.