a3f9cb5b63
Instead of using a `initDispatchTestCases()` function, declare the test-table inside `TestDispatch` itself, and run the tests as subtests. ``` [2019-08-27T15:14:51.072Z] builder/dockerfile/evaluator_test.go:18:2: `name` is unused (structcheck) [2019-08-27T15:14:51.072Z] name, expectedError string ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
buildargs.go | ||
buildargs_test.go | ||
builder.go | ||
builder_unix.go | ||
builder_windows.go | ||
clientsession.go | ||
containerbackend.go | ||
copy.go | ||
copy_test.go | ||
copy_unix.go | ||
copy_windows.go | ||
dispatchers.go | ||
dispatchers_test.go | ||
dispatchers_unix.go | ||
dispatchers_unix_test.go | ||
dispatchers_windows.go | ||
dispatchers_windows_test.go | ||
evaluator.go | ||
evaluator_test.go | ||
imagecontext.go | ||
imageprobe.go | ||
internals.go | ||
internals_linux.go | ||
internals_linux_test.go | ||
internals_test.go | ||
internals_windows.go | ||
internals_windows_test.go | ||
metrics.go | ||
mockbackend_test.go | ||
utils_test.go |